mirror of
http://galexander.org/git/simplesshd.git
synced 2024-11-30 19:28:10 +00:00
styled the option buttons so that it's easier to change them
This commit is contained in:
parent
42c88f330e
commit
213a5808e3
@ -48,39 +48,19 @@
|
|||||||
android:layout_width="1dp"
|
android:layout_width="1dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_height="fill_parent">
|
android:layout_height="fill_parent">
|
||||||
<Button
|
<Button style="@style/option_button" android:id="@+id/option1"
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="Settings"
|
android:text="Settings"
|
||||||
android:onClick="settings_clicked" />
|
android:onClick="settings_clicked" />
|
||||||
<Button
|
<Button style="@style/option_button" android:id="@+id/option2"
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="Copy App-private Path"
|
android:text="Copy App-private Path"
|
||||||
android:onClick="copypriv_clicked" />
|
android:onClick="copypriv_clicked" />
|
||||||
<Button
|
<Button style="@style/option_button" android:id="@+id/option3"
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="Reset Keys"
|
android:text="Reset Keys"
|
||||||
android:onClick="resetkeys_clicked" />
|
android:onClick="resetkeys_clicked" />
|
||||||
<Button
|
<Button style="@style/option_button" android:id="@+id/option4"
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="Documentation"
|
android:text="Documentation"
|
||||||
android:onClick="doc_clicked" />
|
android:onClick="doc_clicked" />
|
||||||
<Button
|
<Button style="@style/option_button" android:id="@+id/option5"
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
||||||
android:text="About"
|
android:text="About"
|
||||||
android:onClick="about_clicked" />
|
android:onClick="about_clicked" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
10
app/src/main/res/values/styles.xml
Normal file
10
app/src/main/res/values/styles.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<style name="option_button" parent="TextAppearance.Leanback">
|
||||||
|
<item name="android:textAllCaps">false</item>
|
||||||
|
<item name="android:textSize">20sp</item>
|
||||||
|
<item name="android:layout_width">fill_parent</item>
|
||||||
|
<item name="android:layout_height">1dp</item>
|
||||||
|
<item name="android:layout_weight">1</item>
|
||||||
|
</style>
|
||||||
|
</resources>
|
Loading…
Reference in New Issue
Block a user