2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-01 06:35:09 +00:00

Fix layoout file formatting

This commit is contained in:
Nicolas Fella
2018-08-01 23:42:36 +02:00
parent 8d9d15e6dd
commit d720684af6
2 changed files with 26 additions and 27 deletions

View File

@@ -1,41 +1,40 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent"
android:orientation="vertical">
<TextView <TextView
android:id="@+id/systemvolume_label" android:id="@+id/systemvolume_label"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"/> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<LinearLayout <LinearLayout
android:orientation="horizontal" android:id="@+id/systemvolume_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/systemvolume_layout"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginTop="8dip"> android:layout_marginTop="8dip"
android:orientation="horizontal">
<ImageButton <ImageButton
android:id="@+id/systemvolume_mute" android:id="@+id/systemvolume_mute"
android:layout_width="30dp" android:layout_width="30dp"
android:layout_height="30dp" android:layout_height="30dp"
android:src="@drawable/ic_volume_black"
android:background="@android:color/transparent" android:background="@android:color/transparent"
android:scaleType="fitXY"
android:contentDescription="@string/mute" android:contentDescription="@string/mute"
/> android:scaleType="fitXY"
android:src="@drawable/ic_volume_black" />
<SeekBar <SeekBar
android:id="@+id/systemvolume_seek"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/systemvolume_seek"
android:layout_weight="1"
android:max="100"
android:layout_gravity="center" android:layout_gravity="center"
/> android:layout_weight="1"
android:max="100" />
</LinearLayout> </LinearLayout>

View File

@@ -46,8 +46,8 @@
android:baselineAlignBottom="true" android:baselineAlignBottom="true"
android:clickable="false" android:clickable="false"
android:contentDescription="@string/mpris_play" android:contentDescription="@string/mpris_play"
android:theme="@style/DisableableButton" android:src="@drawable/ic_play_black"
android:src="@drawable/ic_play_black" /> android:theme="@style/DisableableButton" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
@@ -61,8 +61,8 @@
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_weight="0.25" android:layout_weight="0.25"
android:contentDescription="@string/mpris_previous" android:contentDescription="@string/mpris_previous"
android:theme="@style/DisableableButton" android:src="@drawable/ic_previous_black"
android:src="@drawable/ic_previous_black" /> android:theme="@style/DisableableButton" />
<ImageButton <ImageButton
android:id="@+id/rew_button" android:id="@+id/rew_button"
@@ -70,8 +70,8 @@
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_weight="0.25" android:layout_weight="0.25"
android:contentDescription="@string/mpris_rew" android:contentDescription="@string/mpris_rew"
android:theme="@style/DisableableButton" android:src="@drawable/ic_rewind_black"
android:src="@drawable/ic_rewind_black" /> android:theme="@style/DisableableButton" />
<ImageButton <ImageButton
android:id="@+id/stop_button" android:id="@+id/stop_button"
@@ -79,8 +79,8 @@
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_weight="0.25" android:layout_weight="0.25"
android:contentDescription="@string/mpris_stop" android:contentDescription="@string/mpris_stop"
android:theme="@style/DisableableButton" android:src="@drawable/ic_stop"
android:src="@drawable/ic_stop" /> android:theme="@style/DisableableButton" />
<ImageButton <ImageButton
@@ -89,8 +89,8 @@
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_weight="0.25" android:layout_weight="0.25"
android:contentDescription="@string/mpris_ff" android:contentDescription="@string/mpris_ff"
android:theme="@style/DisableableButton" android:src="@drawable/ic_fast_forward_black"
android:src="@drawable/ic_fast_forward_black" /> android:theme="@style/DisableableButton" />
<ImageButton <ImageButton
android:id="@+id/next_button" android:id="@+id/next_button"
@@ -98,8 +98,8 @@
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_weight="0.25" android:layout_weight="0.25"
android:contentDescription="@string/mpris_next" android:contentDescription="@string/mpris_next"
android:theme="@style/DisableableButton" android:src="@drawable/ic_next_black"
android:src="@drawable/ic_next_black" /> android:theme="@style/DisableableButton" />
</LinearLayout> </LinearLayout>
@@ -156,8 +156,8 @@
android:layout_weight="0" android:layout_weight="0"
android:contentDescription="@string/mpris_volume" android:contentDescription="@string/mpris_volume"
android:maxWidth="30dip" android:maxWidth="30dip"
app:tint="?attr/colorHighContrast" android:src="@drawable/ic_volume_black"
android:src="@drawable/ic_volume_black" /> app:tint="?attr/colorHighContrast" />
<SeekBar <SeekBar