mirror of
http://galexander.org/git/simplesshd.git
synced 2024-11-30 11:18:12 +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_weight="1"
|
||||
android:layout_height="fill_parent">
|
||||
<Button
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_weight="1"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
<Button style="@style/option_button" android:id="@+id/option1"
|
||||
android:text="Settings"
|
||||
android:onClick="settings_clicked" />
|
||||
<Button
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_weight="1"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
<Button style="@style/option_button" android:id="@+id/option2"
|
||||
android:text="Copy App-private Path"
|
||||
android:onClick="copypriv_clicked" />
|
||||
<Button
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_weight="1"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
<Button style="@style/option_button" android:id="@+id/option3"
|
||||
android:text="Reset Keys"
|
||||
android:onClick="resetkeys_clicked" />
|
||||
<Button
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_weight="1"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
<Button style="@style/option_button" android:id="@+id/option4"
|
||||
android:text="Documentation"
|
||||
android:onClick="doc_clicked" />
|
||||
<Button
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_weight="1"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
<Button style="@style/option_button" android:id="@+id/option5"
|
||||
android:text="About"
|
||||
android:onClick="about_clicked" />
|
||||
</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