mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-07-23 09:55:56 +00:00
Button style is now good
This commit is contained in:
parent
8f7a083f07
commit
acd3a06e56
17
res/drawable/standard_button.xml
Normal file
17
res/drawable/standard_button.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape>
|
||||
<corners android:radius="6dp" />
|
||||
<gradient
|
||||
android:startColor="#66b6df"
|
||||
android:endColor="#56a6cf"
|
||||
android:angle="270" />
|
||||
<padding
|
||||
android:left="10dp"
|
||||
android:top="10dp"
|
||||
android:right="10dp"
|
||||
android:bottom="10dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
@ -40,6 +40,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:text="@string/ma_title_add_account"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
@ -52,15 +53,18 @@
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="26dp"
|
||||
android:onClick="openAddAccount"
|
||||
android:background="@drawable/standard_button"
|
||||
style="@style/StandardButton"
|
||||
android:text="@string/ma_button_goto_sync" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/main_button_settings"
|
||||
android:layout_alignLeft="@+id/main_tv_accounts"
|
||||
android:layout_marginBottom="25dp"
|
||||
android:layout_alignStart="@+id/main_tv_accounts"
|
||||
android:layout_below="@+id/mail_button_accounts"
|
||||
android:layout_marginTop="18dp"
|
||||
android:text="@string/ma_title_change_settings"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
@ -68,9 +72,12 @@
|
||||
android:id="@+id/main_button_settings"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/textView1"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:onClick="openAppSettings"
|
||||
android:layout_marginTop="19dp"
|
||||
android:onClick="openAppSettings"
|
||||
android:background="@drawable/standard_button"
|
||||
style="@style/StandardButton"
|
||||
android:text="@string/ma_button_goto_settings" />
|
||||
|
||||
</RelativeLayout>
|
@ -44,6 +44,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:text="@string/ma_title_welcome"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
@ -53,6 +54,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/section_label"
|
||||
android:layout_alignStart="@+id/section_label"
|
||||
android:layout_below="@+id/section_label"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="@string/ma_content_welcome"
|
||||
|
@ -45,6 +45,8 @@
|
||||
android:minHeight="36dp"
|
||||
android:text="@string/ma_button_rate_us"
|
||||
android:onClick="openGooglePlayStore"
|
||||
android:background="@drawable/standard_button"
|
||||
style="@style/StandardButton"
|
||||
android:textAlignment="center" />
|
||||
|
||||
<TextView
|
||||
@ -52,6 +54,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:text="@string/ma_button_thanksto"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
@ -61,6 +64,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_below="@+id/TextView01"
|
||||
android:layout_marginTop="14dp"
|
||||
android:text="ownCloud developpers"
|
||||
@ -71,6 +75,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/ma_title_rateus"
|
||||
android:layout_alignStart="@+id/ma_title_rateus"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="@string/ma_content_rate_us"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
@ -81,6 +86,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/textView1"
|
||||
android:layout_alignLeft="@+id/tv_rateUs"
|
||||
android:layout_alignStart="@+id/tv_rateUs"
|
||||
android:layout_marginBottom="18dp"
|
||||
android:text="@string/ma_title_rate_us"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
@ -16,5 +16,8 @@
|
||||
<style name="AppTheme" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
</style>
|
||||
<style name="StandardButton">
|
||||
<item name="android:textColor">#ffffff</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user