use style instead of theme attribute for secondary action buttons

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2019-01-21 12:59:03 +01:00
parent 44099c0792
commit df15340fc2
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
5 changed files with 5 additions and 5 deletions

View file

@ -46,7 +46,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="middle" android:ellipsize="middle"
android:text="@string/placeholder_filename" android:text="@string/placeholder_filename"
android:textColor="@color/black" android:textColor="@color/textColor"
android:textSize="20sp" android:textSize="20sp"
android:textStyle="bold" /> android:textStyle="bold" />

View file

@ -130,7 +130,7 @@
android:layout_marginStart="@dimen/standard_margin" android:layout_marginStart="@dimen/standard_margin"
android:layout_marginLeft="@dimen/standard_margin" android:layout_marginLeft="@dimen/standard_margin"
android:text="@string/upload_direct_camera_upload" android:text="@string/upload_direct_camera_upload"
android:textColor="@color/black" android:textColor="@color/textColor"
android:textSize="@dimen/bottom_sheet_text_size" /> android:textSize="@dimen/bottom_sheet_text_size" />
</LinearLayout> </LinearLayout>

View file

@ -53,7 +53,7 @@
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/folder_picker_btn_cancel" android:id="@+id/folder_picker_btn_cancel"
android:theme="@style/OutlinedButton" style="@style/OutlinedButton"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"

View file

@ -87,7 +87,7 @@
android:layout_marginRight="@dimen/standard_half_margin" android:layout_marginRight="@dimen/standard_half_margin"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/common_cancel" android:text="@string/common_cancel"
android:theme="@style/OutlinedButton" style="@style/OutlinedButton"
app:cornerRadius="@dimen/button_corner_radius" /> app:cornerRadius="@dimen/button_corner_radius" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton

View file

@ -64,7 +64,7 @@
android:padding="@dimen/standard_padding"> android:padding="@dimen/standard_padding">
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:theme="@style/OutlinedButton" style="@style/OutlinedButton"
android:id="@+id/uploader_cancel" android:id="@+id/uploader_cancel"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"