mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 20:15:32 -04:00
universal7885: Format xml again
* No tabs this time, 3-space intent
This commit is contained in:
parent
7ab4e966aa
commit
a7ef8f2b7e
93 changed files with 2634 additions and 2737 deletions
|
|
@ -1,22 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.system" package="com.eurekateam.fmradio">
|
||||
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/Theme.Material3.DayNight.NoActionBar">
|
||||
<activity android:name=".MainActivity" android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<action android:name="android.intent.action.HEADSET_PLUG"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<service android:name=".FMRadioService" android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="com.eurekateam.fmradio.PLAY_FM"/>
|
||||
<action android:name="com.eurekateam.fmradio.NEXT"/>
|
||||
<action android:name="com.eurekateam.fmradio.BEFORE"/>
|
||||
<action android:name="com.eurekateam.fmradio.QUIT"/>
|
||||
<action android:name="com.eurekateam.fmradio.OUTPUT"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
</intent-filter>
|
||||
</service>
|
||||
</application>
|
||||
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/Theme.Material3.DayNight.NoActionBar">
|
||||
<activity android:name=".MainActivity" android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<action android:name="android.intent.action.HEADSET_PLUG"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<service android:name=".FMRadioService" android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="com.eurekateam.fmradio.PLAY_FM"/>
|
||||
<action android:name="com.eurekateam.fmradio.NEXT"/>
|
||||
<action android:name="com.eurekateam.fmradio.BEFORE"/>
|
||||
<action android:name="com.eurekateam.fmradio.QUIT"/>
|
||||
<action android:name="com.eurekateam.fmradio.OUTPUT"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
</intent-filter>
|
||||
</service>
|
||||
</application>
|
||||
</manifest>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@android:color/system_accent1_200"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
<background android:drawable="@android:color/system_accent1_200"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="108dp" android:height="108dp" android:viewportWidth="108" android:viewportHeight="108" android:tint="#FFFFFF">
|
||||
<group android:scaleX="2.1924" android:scaleY="2.1924" android:translateX="27.6912" android:translateY="27.6912">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M3.24,6.15C2.51,6.43 2,7.17 2,8v12c0,1.1 0.89,2 2,2h16c1.11,0 2,-0.9 2,-2L22,8c0,-1.11 -0.89,-2 -2,-2L8.3,6l8.26,-3.34L15.88,1 3.24,6.15zM7,20c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3zM20,12h-2v-2h-2v2L4,12L4,8h16v4z"/>
|
||||
</group>
|
||||
<group android:scaleX="2.1924" android:scaleY="2.1924" android:translateX="27.6912" android:translateY="27.6912">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M3.24,6.15C2.51,6.43 2,7.17 2,8v12c0,1.1 0.89,2 2,2h16c1.11,0 2,-0.9 2,-2L22,8c0,-1.11 -0.89,-2 -2,-2L8.3,6l8.26,-3.34L15.88,1 3.24,6.15zM7,20c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3zM20,12h-2v-2h-2v2L4,12L4,8h16v4z"/>
|
||||
</group>
|
||||
</vector>
|
||||
|
|
|
|||
|
|
@ -1,22 +1,21 @@
|
|||
<?xml version="1.0"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@android:id/background">
|
||||
<shape android:shape="line">
|
||||
<stroke android:color="@android:color/system_accent1_500" android:width="@dimen/seek_bar_thickness"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:id="@android:id/secondaryProgress">
|
||||
<clip>
|
||||
<shape android:shape="line">
|
||||
<stroke android:color="@android:color/system_accent1_200" android:width="@dimen/seek_bar_thickness"/>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<shape android:shape="line">
|
||||
<stroke android:color="@android:color/system_accent1_300" android:width="@dimen/seek_bar_thickness"/>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
<item android:id="@android:id/background">
|
||||
<shape android:shape="line">
|
||||
<stroke android:color="@android:color/system_accent1_500" android:width="@dimen/seek_bar_thickness"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:id="@android:id/secondaryProgress">
|
||||
<clip>
|
||||
<shape android:shape="line">
|
||||
<stroke android:color="@android:color/system_accent1_200" android:width="@dimen/seek_bar_thickness"/>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<shape android:shape="line">
|
||||
<stroke android:color="@android:color/system_accent1_300" android:width="@dimen/seek_bar_thickness"/>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
</layer-list>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
|
||||
<size android:height="@dimen/seek_bar_thumb_size" android:width="@dimen/seek_bar_thumb_size"/>
|
||||
<solid android:color="@android:color/system_accent2_500"/>
|
||||
<size android:height="@dimen/seek_bar_thumb_size" android:width="@dimen/seek_bar_thumb_size"/>
|
||||
<solid android:color="@android:color/system_accent2_500"/>
|
||||
</shape>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
<?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"/>
|
||||
<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,5 +1,4 @@
|
|||
<?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 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,7 +1,6 @@
|
|||
<?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"/>
|
||||
<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,5 +1,4 @@
|
|||
<?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"/>
|
||||
<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,4 +1,3 @@
|
|||
<?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"/>
|
||||
<com.eurekateam.fmradio.PebbleTextView android:id="@+id/pebble_textview" android:layout_width="210dp" android:layout_height="175dp"/>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
<?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>
|
||||
|
|
|
|||
|
|
@ -1,30 +1,29 @@
|
|||
<?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>
|
||||
</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>
|
||||
<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="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>
|
||||
</FrameLayout>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@+id/radio_main" android:enabled="true" android:icon="@drawable/ic_radio" android:title="@string/app_name"/>
|
||||
<item android:id="@+id/channel_list" android:enabled="true" android:icon="@drawable/ic_list" android:title="@string/channel_list"/>
|
||||
<item android:id="@+id/fav_list" android:enabled="true" android:icon="@drawable/ic_star_filled" android:title="@string/favorites"/>
|
||||
<item android:id="@+id/radio_main" android:enabled="true" android:icon="@drawable/ic_radio" android:title="@string/app_name"/>
|
||||
<item android:id="@+id/channel_list" android:enabled="true" android:icon="@drawable/ic_list" android:title="@string/channel_list"/>
|
||||
<item android:id="@+id/fav_list" android:enabled="true" android:icon="@drawable/ic_star_filled" android:title="@string/favorites"/>
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="seek_bar_thickness">10dp</dimen>
|
||||
<dimen name="seek_bar_thumb_size">20dp</dimen>
|
||||
<dimen name="noti_btn_default_size">25dp</dimen>
|
||||
<dimen name="power_btn_default_size">35dp</dimen>
|
||||
<dimen name="seek_bar_thickness">10dp</dimen>
|
||||
<dimen name="seek_bar_thumb_size">20dp</dimen>
|
||||
<dimen name="noti_btn_default_size">25dp</dimen>
|
||||
<dimen name="power_btn_default_size">35dp</dimen>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -1,44 +1,43 @@
|
|||
<?xml version="1.0"?>
|
||||
<resources>
|
||||
<string name="app_name">FM Radio</string>
|
||||
<string name="fm_radio">FM Radio</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="output_modes">Output Modes</string>
|
||||
<string name="turn_on_fm">FM Power</string>
|
||||
<string name="disabled">Disabled</string>
|
||||
<string name="enabled">Enabled</string>
|
||||
<string name="phone_speaker">Speaker</string>
|
||||
<string name="wired_earphones">Wired Earphones</string>
|
||||
<string name="select_channel">Radio Channel</string>
|
||||
<string name="refresh">Refresh</string>
|
||||
<string name="seek_down">Seek Down</string>
|
||||
<string name="seek_up">Seek Up</string>
|
||||
<string name="scan">Scan</string>
|
||||
<string name="stop">Stop</string>
|
||||
<string name="mhz">Mhz</string>
|
||||
<string name="quit">Quit</string>
|
||||
<string name="album_art">Album Art</string>
|
||||
<string name="previous_radio_channel">Previous Radio Channel</string>
|
||||
<string name="next_radio_channel">Next Radio Channel</string>
|
||||
<string name="play_pause">Play Pause</string>
|
||||
<string name="close_radio">Close Radio</string>
|
||||
<string name="radio_io_error">Failed to open radio chr device!!</string>
|
||||
<string name="radio_io_error_desc">The FM radio app needs to call ioctl()
|
||||
<string name="app_name">FM Radio</string>
|
||||
<string name="fm_radio">FM Radio</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="output_modes">Output Modes</string>
|
||||
<string name="turn_on_fm">FM Power</string>
|
||||
<string name="disabled">Disabled</string>
|
||||
<string name="enabled">Enabled</string>
|
||||
<string name="phone_speaker">Speaker</string>
|
||||
<string name="wired_earphones">Wired Earphones</string>
|
||||
<string name="select_channel">Radio Channel</string>
|
||||
<string name="refresh">Refresh</string>
|
||||
<string name="seek_down">Seek Down</string>
|
||||
<string name="seek_up">Seek Up</string>
|
||||
<string name="scan">Scan</string>
|
||||
<string name="stop">Stop</string>
|
||||
<string name="mhz">Mhz</string>
|
||||
<string name="quit">Quit</string>
|
||||
<string name="album_art">Album Art</string>
|
||||
<string name="previous_radio_channel">Previous Radio Channel</string>
|
||||
<string name="next_radio_channel">Next Radio Channel</string>
|
||||
<string name="play_pause">Play Pause</string>
|
||||
<string name="close_radio">Close Radio</string>
|
||||
<string name="radio_io_error">Failed to open radio chr device!!</string>
|
||||
<string name="radio_io_error_desc">The FM radio app needs to call ioctl()
|
||||
to radio chr device (/dev/radio0). If SELinux is enforcing, try making
|
||||
it permissive</string>
|
||||
<string name="tracks_empty_error">Failed to check if array != null!!</string>
|
||||
<string name="tracks_empty_error_desc">Most likely because FM device couldn\'t
|
||||
<string name="tracks_empty_error">Failed to check if array != null!!</string>
|
||||
<string name="tracks_empty_error_desc">Most likely because FM device couldn\'t
|
||||
find radio channels, if you are sure it should find channels, contact the devs</string>
|
||||
<string name="no_headphones_error">Failed to find wired headset</string>
|
||||
<string name="no_headphones_error_desc">Insert Headphones and try again</string>
|
||||
<string name="radio_controls">Radio Controls</string>
|
||||
<string name="fm_radio_frequency">FM Radio Station</string>
|
||||
<string name="fm">FM</string>
|
||||
<string name="inital_freq">000.0</string>
|
||||
<string name="channel_list">Channel List</string>
|
||||
<string name="favorites">Favorites</string>
|
||||
<string name="warning">Warning!</string>
|
||||
<string name="retry">Retry</string>
|
||||
<string name="exit_app">Exit App</string>
|
||||
<string name="fm_radio_freq">FM %s Mhz</string>
|
||||
<string name="no_headphones_error">Failed to find wired headset</string>
|
||||
<string name="no_headphones_error_desc">Insert Headphones and try again</string>
|
||||
<string name="radio_controls">Radio Controls</string>
|
||||
<string name="fm_radio_frequency">FM Radio Station</string>
|
||||
<string name="fm">FM</string>
|
||||
<string name="inital_freq">000.0</string>
|
||||
<string name="channel_list">Channel List</string>
|
||||
<string name="favorites">Favorites</string>
|
||||
<string name="warning">Warning!</string>
|
||||
<string name="retry">Retry</string>
|
||||
<string name="exit_app">Exit App</string>
|
||||
<string name="fm_radio_freq">FM %s Mhz</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Reference in a new issue