2 Commits

Author SHA1 Message Date
b8cb17b2dc Divers fix 2022-10-07 00:21:35 +02:00
58fb2e29d2 Divers fix 2022-10-07 00:21:22 +02:00
6 changed files with 20 additions and 12 deletions

View File

@@ -12,6 +12,6 @@
</deviceKey> </deviceKey>
</Target> </Target>
</targetSelectedWithDropDown> </targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-10-04T22:57:34.390618500Z" /> <timeTargetWasSelectedWithDropDown value="2022-10-06T21:07:17.900132800Z" />
</component> </component>
</project> </project>

6
.idea/render.experimental.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RenderSettings">
<option name="showDecorations" value="true" />
</component>
</project>

View File

@@ -67,7 +67,6 @@ public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main); setContentView(R.layout.activity_main);
getSupportActionBar().hide();
//menu //menu
navigationView = findViewById(R.id.navigation_drawer); navigationView = findViewById(R.id.navigation_drawer);

View File

@@ -8,12 +8,13 @@
tools:openDrawer="start" tools:openDrawer="start"
tools:context=".MainActivity"> tools:context=".MainActivity">
<androidx.coordinatorlayout.widget.CoordinatorLayout <androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout <com.google.android.material.appbar.AppBarLayout
style="@style/ShapeAppearanceOverlay.Material3.NavigationView.Item" style="@style/Widget.Material3.AppBarLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
tools:ignore="WebViewLayout"> tools:ignore="WebViewLayout">
@@ -24,20 +25,22 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="start|top" android:layout_gravity="start|top"
android:background="?attr/colorPrimaryVariant" android:background="?attr/colorPrimaryVariant"
app:popupTheme="@style/Theme.RadioMercure" app:popupTheme="@style/Widget.Material3.PopupMenu.Overflow"
app:titleTextColor="@color/white" /> app:titleTextColor="@color/white" />
</com.google.android.material.appbar.AppBarLayout> </com.google.android.material.appbar.AppBarLayout>
<WebView
android:id="@+id/wv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="58dp"></WebView>
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>
<WebView
android:id="@+id/wv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="55dp">
</WebView>
<com.google.android.material.navigation.NavigationView <com.google.android.material.navigation.NavigationView
android:id="@+id/navigation_drawer" android:id="@+id/navigation_drawer"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@@ -6,7 +6,7 @@
<string name="menu_reload">Relancer...</string> <string name="menu_reload">Relancer...</string>
<string name="menu_about">A Propos...</string> <string name="menu_about">A Propos...</string>
<string name="menu_podmap">PodMap</string> <string name="menu_podmap">PodMap</string>
<string name="menu_home">Accueil</string> <string name="menu_home">Tous les Podcasts</string>
<string name="dialog_close">Fermer</string> <string name="dialog_close">Fermer</string>
<string name="dialog_version">RADIO MERCURE - Version </string> <string name="dialog_version">RADIO MERCURE - Version </string>
<string name="dialog_battery_msg"><![CDATA[Dans le cadre d\'une utilisation optimiale de RADIO MERCURE en arrière-plan notamment pour la lecture du direct, <string name="dialog_battery_msg"><![CDATA[Dans le cadre d\'une utilisation optimiale de RADIO MERCURE en arrière-plan notamment pour la lecture du direct,

View File

@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="Theme.RadioMercure" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> <style name="Theme.RadioMercure" parent="Theme.Material3.Light.NoActionBar">
<!-- Primary brand color. --> <!-- Primary brand color. -->
<item name="colorPrimary">#FF5722</item> <item name="colorPrimary">#FF5722</item>
<item name="colorPrimaryVariant">#FF5722</item> <item name="colorPrimaryVariant">#FF5722</item>