mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 20:45:31 -04:00
universal7885: xml: format using xmllint
This commit is contained in:
parent
7d313f6d93
commit
9b2915e070
92 changed files with 6371 additions and 7254 deletions
|
|
@ -1,22 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="50dp"
|
||||
android:background="@android:color/system_accent1_100"
|
||||
android:id="@+id/channel_list_layout">
|
||||
|
||||
<ListView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/listview"/>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:id="@+id/refresh_channel_list"
|
||||
android:src="@drawable/ic_refresh"
|
||||
android:layout_marginEnd="25dp"
|
||||
android:layout_marginBottom="25dp"/>
|
||||
</FrameLayout>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginBottom="50dp" android:background="@android:color/system_accent1_100" android:id="@+id/channel_list_layout">
|
||||
<ListView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/listview"/>
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:id="@+id/refresh_channel_list" android:src="@drawable/ic_refresh" android:layout_marginEnd="25dp" android:layout_marginBottom="25dp"/>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
|
|
@ -1,20 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/container_view"/>
|
||||
|
||||
<com.google.android.material.bottomnavigation.BottomNavigationView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/system_accent1_300"
|
||||
style="@style/Widget.MaterialComponents.BottomNavigationView.Colored"
|
||||
app:menu="@menu/bottom_navigation_menu"
|
||||
android:id="@+id/bottom_nav_bar"/>
|
||||
</FrameLayout>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
<FrameLayout android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/container_view"/>
|
||||
<com.google.android.material.bottomnavigation.BottomNavigationView android:layout_width="match_parent" android:layout_gravity="bottom" android:layout_height="wrap_content" android:background="@android:color/system_accent1_300" style="@style/Widget.MaterialComponents.BottomNavigationView.Colored" app:menu="@menu/bottom_navigation_menu" android:id="@+id/bottom_nav_bar"/>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
|
|
@ -1,41 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:theme="@style/Theme.Material3.DayNight.Dialog.Alert">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/warning"
|
||||
android:textSize="50sp"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
android:paddingBottom="15dp"/>
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/alert_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="25sp"
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
android:paddingBottom="15dp"/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"
|
||||
android:id="@+id/alert_image"
|
||||
android:background="@android:color/system_accent1_400"/>
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/alert_desc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="25sp"
|
||||
android:gravity="center"
|
||||
android:paddingTop="20dp"
|
||||
android:paddingBottom="10dp"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:theme="@style/Theme.Material3.DayNight.Dialog.Alert">
|
||||
<com.google.android.material.textview.MaterialTextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/warning" android:textSize="50sp" android:textAllCaps="true" android:textStyle="bold" android:gravity="center" android:paddingBottom="15dp"/>
|
||||
<com.google.android.material.textview.MaterialTextView android:id="@+id/alert_title" android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="25sp" android:textStyle="bold" android:gravity="center" android:paddingBottom="15dp"/>
|
||||
<androidx.appcompat.widget.AppCompatImageView android:layout_width="200dp" android:layout_height="200dp" android:id="@+id/alert_image" android:background="@android:color/system_accent1_400"/>
|
||||
<com.google.android.material.textview.MaterialTextView android:id="@+id/alert_desc" android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="25sp" android:gravity="center" android:paddingTop="20dp" android:paddingBottom="10dp"/>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,29 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_gravity="start|center_vertical"
|
||||
android:id="@+id/star_button_list"
|
||||
android:src="@drawable/ic_star"/>
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:paddingStart="25dp"
|
||||
android:id="@+id/channel_list_title"
|
||||
android:paddingEnd="25dp"
|
||||
android:textColor="@android:color/system_accent2_700"
|
||||
android:textStyle="bold"
|
||||
android:letterSpacing="0.15"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:textSize="25sp"
|
||||
android:text="@string/fm_radio_freq"/>
|
||||
</FrameLayout>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content">
|
||||
<androidx.appcompat.widget.AppCompatImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="10dp" android:layout_gravity="start|center_vertical" android:id="@+id/star_button_list" android:src="@drawable/ic_star"/>
|
||||
<com.google.android.material.textview.MaterialTextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:paddingStart="25dp" android:id="@+id/channel_list_title" android:paddingEnd="25dp" android:textColor="@android:color/system_accent2_700" android:textStyle="bold" android:letterSpacing="0.15" android:paddingTop="15dp" android:paddingBottom="15dp" android:textSize="25sp" android:text="@string/fm_radio_freq"/>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="start|top"
|
||||
android:id="@+id/pebble_layout">
|
||||
|
||||
<com.eurekateam.fmradio.PebbleTextView
|
||||
android:id="@+id/pebble_textview"
|
||||
android:layout_width="210dp"
|
||||
android:layout_height="175dp" />
|
||||
</FrameLayout>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="start|top" android:id="@+id/pebble_layout">
|
||||
<com.eurekateam.fmradio.PebbleTextView android:id="@+id/pebble_textview" android:layout_width="210dp" android:layout_height="175dp"/>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<GridView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/fav_list_grid">
|
||||
</GridView>
|
||||
<GridView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:id="@+id/fav_list_grid">
|
||||
</GridView>
|
||||
|
|
|
|||
|
|
@ -1,166 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:fitsSystemWindows="true"
|
||||
android:id="@+id/main_fragment"
|
||||
android:background="@android:color/system_accent1_100">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="65dp"
|
||||
android:paddingStart="30dp"
|
||||
android:paddingEnd="30dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="top|center">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/app_banner"
|
||||
android:textColor="@android:color/system_accent1_500"
|
||||
android:textSize="65sp"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/app_name"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="match_parent"/>
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="end">
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_gravity="start|center_vertical"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fav_button"
|
||||
app:elevation="0dp"
|
||||
android:backgroundTint="@android:color/system_accent1_400"
|
||||
android:src="@drawable/ic_star"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/fm_freq"
|
||||
android:text="@string/inital_freq"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@android:color/system_accent1_500"
|
||||
android:textSize="65sp"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="bottom"
|
||||
android:paddingBottom="20dp"
|
||||
android:id="@+id/freq_misc"
|
||||
android:textSize="25sp"
|
||||
android:textColor="@android:color/system_accent1_500"
|
||||
android:text="@string/mhz"
|
||||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:fitsSystemWindows="true" android:id="@+id/main_fragment" android:background="@android:color/system_accent1_100">
|
||||
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="65dp" android:paddingStart="30dp" android:paddingEnd="30dp" android:orientation="vertical" android:layout_gravity="top|center">
|
||||
<com.google.android.material.textview.MaterialTextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/app_banner" android:textColor="@android:color/system_accent1_500" android:textSize="65sp" android:textStyle="bold" android:text="@string/app_name"/>
|
||||
<Space android:layout_width="5dp" android:layout_height="match_parent"/>
|
||||
<FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="end">
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton android:layout_gravity="start|center_vertical" android:layout_marginStart="30dp" android:layout_width="wrap_content" android:layout_height="match_parent" android:id="@+id/fav_button" app:elevation="0dp" android:backgroundTint="@android:color/system_accent1_400" android:src="@drawable/ic_star"/>
|
||||
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="end">
|
||||
<com.google.android.material.textview.MaterialTextView android:layout_width="wrap_content" android:layout_height="match_parent" android:id="@+id/fm_freq" android:text="@string/inital_freq" android:textStyle="bold" android:textColor="@android:color/system_accent1_500" android:textSize="65sp"/>
|
||||
<com.google.android.material.textview.MaterialTextView android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="bottom" android:paddingBottom="20dp" android:id="@+id/freq_misc" android:textSize="25sp" android:textColor="@android:color/system_accent1_500" android:text="@string/mhz" android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom|center_horizontal" android:gravity="center_horizontal" android:orientation="vertical" android:paddingBottom="100dp">
|
||||
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="30dp" android:layout_marginBottom="50dp" android:gravity="center">
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:backgroundTint="@android:color/system_accent1_400" android:id="@+id/volume_down" app:elevation="0dp" android:src="@drawable/ic_volume_down"/>
|
||||
<androidx.appcompat.widget.AppCompatSeekBar android:layout_width="175dp" android:id="@+id/volume_seekbar" android:progressDrawable="@drawable/ic_seekbar" android:thumb="@drawable/ic_seekbar_thumb" android:layout_height="match_parent"/>
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:backgroundTint="@android:color/system_accent1_400" android:id="@+id/volume_up" app:elevation="0dp" android:src="@drawable/ic_volume_up"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="100dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginBottom="50dp"
|
||||
android:gravity="center">
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:backgroundTint="@android:color/system_accent1_400"
|
||||
android:id="@+id/volume_down"
|
||||
app:elevation="0dp"
|
||||
android:src="@drawable/ic_volume_down" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatSeekBar
|
||||
android:layout_width="175dp"
|
||||
android:id="@+id/volume_seekbar"
|
||||
android:progressDrawable="@drawable/ic_seekbar"
|
||||
android:thumb="@drawable/ic_seekbar_thumb"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:backgroundTint="@android:color/system_accent1_400"
|
||||
android:id="@+id/volume_up"
|
||||
app:elevation="0dp"
|
||||
android:src="@drawable/ic_volume_up"/>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center">
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/before_channel"
|
||||
android:layout_width="wrap_content"
|
||||
android:backgroundTint="@android:color/system_accent1_400"
|
||||
android:layout_height="wrap_content"
|
||||
app:elevation="0dp"
|
||||
android:src="@drawable/ic_rewind" />
|
||||
|
||||
<Space
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/fm_power"
|
||||
android:layout_width="wrap_content"
|
||||
android:backgroundTint="@android:color/system_accent1_400"
|
||||
android:layout_height="wrap_content"
|
||||
app:elevation="0dp"
|
||||
android:src="@drawable/ic_power" />
|
||||
|
||||
<Space
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/next_channel"
|
||||
android:layout_width="wrap_content"
|
||||
android:backgroundTint="@android:color/system_accent1_400"
|
||||
android:layout_height="wrap_content"
|
||||
app:elevation="0dp"
|
||||
android:src="@drawable/ic_forward" />
|
||||
</LinearLayout>
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/fm_output_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:backgroundTint="@android:color/system_accent1_400"
|
||||
android:layout_height="wrap_content"
|
||||
app:elevation="0dp"
|
||||
app:srcCompat="@drawable/ic_volume_up" />
|
||||
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center">
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/before_channel" android:layout_width="wrap_content" android:backgroundTint="@android:color/system_accent1_400" android:layout_height="wrap_content" app:elevation="0dp" android:src="@drawable/ic_rewind"/>
|
||||
<Space android:layout_width="50dp" android:layout_height="match_parent"/>
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/fm_power" android:layout_width="wrap_content" android:backgroundTint="@android:color/system_accent1_400" android:layout_height="wrap_content" app:elevation="0dp" android:src="@drawable/ic_power"/>
|
||||
<Space android:layout_width="50dp" android:layout_height="match_parent"/>
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/next_channel" android:layout_width="wrap_content" android:backgroundTint="@android:color/system_accent1_400" android:layout_height="wrap_content" app:elevation="0dp" android:src="@drawable/ic_forward"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
<Space android:layout_width="match_parent" android:layout_height="30dp"/>
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/fm_output_btn" android:layout_width="wrap_content" android:backgroundTint="@android:color/system_accent1_400" android:layout_height="wrap_content" app:elevation="0dp" app:srcCompat="@drawable/ic_volume_up"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
Loading…
Reference in a new issue