removing a redundant style definition

This commit is contained in:
tibbi 2018-10-21 22:38:41 +02:00
parent f1b0e6a001
commit 552cb2ec5f
7 changed files with 28 additions and 28 deletions

View file

@ -48,7 +48,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.1.12' implementation 'com.simplemobiletools:commons:5.1.14'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
implementation 'androidx.multidex:multidex:2.0.0' implementation 'androidx.multidex:multidex:2.0.0'
implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1'

View file

@ -11,9 +11,9 @@
<ImageView <ImageView
android:id="@+id/bottom_favorite" android:id="@+id/bottom_favorite"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_star_off" android:src="@drawable/ic_star_off"
app:layout_constraintEnd_toStartOf="@+id/bottom_edit" app:layout_constraintEnd_toStartOf="@+id/bottom_edit"
@ -22,9 +22,9 @@
<ImageView <ImageView
android:id="@+id/bottom_edit" android:id="@+id/bottom_edit"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_edit" android:src="@drawable/ic_edit"
app:layout_constraintEnd_toStartOf="@+id/bottom_share" app:layout_constraintEnd_toStartOf="@+id/bottom_share"
@ -33,9 +33,9 @@
<ImageView <ImageView
android:id="@+id/bottom_share" android:id="@+id/bottom_share"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_share" android:src="@drawable/ic_share"
app:layout_constraintEnd_toStartOf="@+id/bottom_delete" app:layout_constraintEnd_toStartOf="@+id/bottom_delete"
@ -44,9 +44,9 @@
<ImageView <ImageView
android:id="@+id/bottom_delete" android:id="@+id/bottom_delete"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_delete" android:src="@drawable/ic_delete"
app:layout_constraintEnd_toStartOf="@+id/bottom_rotate" app:layout_constraintEnd_toStartOf="@+id/bottom_rotate"
@ -55,9 +55,9 @@
<ImageView <ImageView
android:id="@+id/bottom_rotate" android:id="@+id/bottom_rotate"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_rotate_right" android:src="@drawable/ic_rotate_right"
app:layout_constraintEnd_toStartOf="@+id/bottom_properties" app:layout_constraintEnd_toStartOf="@+id/bottom_properties"
@ -66,9 +66,9 @@
<ImageView <ImageView
android:id="@+id/bottom_properties" android:id="@+id/bottom_properties"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_properties" android:src="@drawable/ic_properties"
app:layout_constraintEnd_toStartOf="@+id/bottom_change_orientation" app:layout_constraintEnd_toStartOf="@+id/bottom_change_orientation"
@ -77,9 +77,9 @@
<ImageView <ImageView
android:id="@+id/bottom_change_orientation" android:id="@+id/bottom_change_orientation"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_orientation_auto" android:src="@drawable/ic_orientation_auto"
app:layout_constraintEnd_toStartOf="@+id/bottom_slideshow" app:layout_constraintEnd_toStartOf="@+id/bottom_slideshow"
@ -88,9 +88,9 @@
<ImageView <ImageView
android:id="@+id/bottom_slideshow" android:id="@+id/bottom_slideshow"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_slideshow" android:src="@drawable/ic_slideshow"
app:layout_constraintEnd_toStartOf="@+id/bottom_show_on_map" app:layout_constraintEnd_toStartOf="@+id/bottom_show_on_map"
@ -99,9 +99,9 @@
<ImageView <ImageView
android:id="@+id/bottom_show_on_map" android:id="@+id/bottom_show_on_map"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_place" android:src="@drawable/ic_place"
app:layout_constraintEnd_toStartOf="@+id/bottom_toggle_file_visibility" app:layout_constraintEnd_toStartOf="@+id/bottom_toggle_file_visibility"
@ -110,9 +110,9 @@
<ImageView <ImageView
android:id="@+id/bottom_toggle_file_visibility" android:id="@+id/bottom_toggle_file_visibility"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_hide" android:src="@drawable/ic_hide"
app:layout_constraintEnd_toStartOf="@+id/bottom_rename" app:layout_constraintEnd_toStartOf="@+id/bottom_rename"
@ -121,9 +121,9 @@
<ImageView <ImageView
android:id="@+id/bottom_rename" android:id="@+id/bottom_rename"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_rename_new" android:src="@drawable/ic_rename_new"
app:layout_constraintEnd_toEndOf="@+id/bottom_set_as" app:layout_constraintEnd_toEndOf="@+id/bottom_set_as"
@ -132,9 +132,9 @@
<ImageView <ImageView
android:id="@+id/bottom_set_as" android:id="@+id/bottom_set_as"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/medium_margin" android:padding="@dimen/medium_margin"
android:src="@drawable/ic_set_as" android:src="@drawable/ic_set_as"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"

View file

@ -9,9 +9,9 @@
<TextView <TextView
android:id="@+id/bottom_aspect_ratio_free" android:id="@+id/bottom_aspect_ratio_free"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/activity_margin" android:padding="@dimen/activity_margin"
android:text="@string/free_aspect_ratio" android:text="@string/free_aspect_ratio"
android:textAllCaps="true" android:textAllCaps="true"
@ -23,9 +23,9 @@
<TextView <TextView
android:id="@+id/bottom_aspect_ratio_one_one" android:id="@+id/bottom_aspect_ratio_one_one"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/activity_margin" android:padding="@dimen/activity_margin"
android:text="1:1" android:text="1:1"
android:textColor="@android:color/white" android:textColor="@android:color/white"
@ -36,9 +36,9 @@
<TextView <TextView
android:id="@+id/bottom_aspect_ratio_four_three" android:id="@+id/bottom_aspect_ratio_four_three"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/activity_margin" android:padding="@dimen/activity_margin"
android:text="4:3" android:text="4:3"
android:textColor="@android:color/white" android:textColor="@android:color/white"
@ -49,9 +49,9 @@
<TextView <TextView
android:id="@+id/bottom_aspect_ratio_sixteen_nine" android:id="@+id/bottom_aspect_ratio_sixteen_nine"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/activity_margin" android:padding="@dimen/activity_margin"
android:text="16:9" android:text="16:9"
android:textColor="@android:color/white" android:textColor="@android:color/white"

View file

@ -9,9 +9,9 @@
<ImageView <ImageView
android:id="@+id/bottom_rotate" android:id="@+id/bottom_rotate"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:src="@drawable/ic_rotate_right" android:src="@drawable/ic_rotate_right"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
@ -22,9 +22,9 @@
<ImageView <ImageView
android:id="@+id/bottom_resize" android:id="@+id/bottom_resize"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:src="@drawable/ic_minimize" android:src="@drawable/ic_minimize"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
@ -35,9 +35,9 @@
<ImageView <ImageView
android:id="@+id/bottom_aspect_ratio" android:id="@+id/bottom_aspect_ratio"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:src="@drawable/ic_aspect_ratio" android:src="@drawable/ic_aspect_ratio"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
@ -48,9 +48,9 @@
<ImageView <ImageView
android:id="@+id/bottom_flip_horizontally" android:id="@+id/bottom_flip_horizontally"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:src="@drawable/ic_flip_horizontally" android:src="@drawable/ic_flip_horizontally"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
@ -61,9 +61,9 @@
<ImageView <ImageView
android:id="@+id/bottom_flip_vertically" android:id="@+id/bottom_flip_vertically"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:src="@drawable/ic_flip_vertically" android:src="@drawable/ic_flip_vertically"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"

View file

@ -9,9 +9,9 @@
<ImageView <ImageView
android:id="@+id/bottom_primary_filter" android:id="@+id/bottom_primary_filter"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:src="@drawable/ic_photo_filter" android:src="@drawable/ic_photo_filter"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
@ -22,9 +22,9 @@
<ImageView <ImageView
android:id="@+id/bottom_primary_crop_rotate" android:id="@+id/bottom_primary_crop_rotate"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:src="@drawable/ic_crop_rotate" android:src="@drawable/ic_crop_rotate"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"

View file

@ -10,9 +10,9 @@
<ImageView <ImageView
android:id="@+id/bottom_set_wallpaper_aspect_ratio" android:id="@+id/bottom_set_wallpaper_aspect_ratio"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:src="@drawable/ic_minimize" android:src="@drawable/ic_minimize"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
@ -23,9 +23,9 @@
<ImageView <ImageView
android:id="@+id/bottom_set_wallpaper_rotate" android:id="@+id/bottom_set_wallpaper_rotate"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:src="@drawable/ic_rotate_right" android:src="@drawable/ic_rotate_right"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"

View file

@ -9,13 +9,13 @@
<TextView <TextView
android:id="@+id/video_curr_time" android:id="@+id/video_curr_time"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_alignTop="@+id/video_seekbar" android:layout_alignTop="@+id/video_seekbar"
android:layout_alignBottom="@+id/video_seekbar" android:layout_alignBottom="@+id/video_seekbar"
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingLeft="@dimen/activity_margin" android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin" android:paddingRight="@dimen/activity_margin"
@ -35,13 +35,13 @@
<TextView <TextView
android:id="@+id/video_duration" android:id="@+id/video_duration"
style="@style/MyBorderlessBackgroundStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignTop="@+id/video_seekbar" android:layout_alignTop="@+id/video_seekbar"
android:layout_alignBottom="@+id/video_seekbar" android:layout_alignBottom="@+id/video_seekbar"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingLeft="@dimen/activity_margin" android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin" android:paddingRight="@dimen/activity_margin"