Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all Files to AndroidX for the issue #2242 #2254

Merged
merged 1 commit into from
Oct 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/src/main/res/layout-hdpi/control_main_list_item.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/cardview_control_main"
Expand Down Expand Up @@ -108,4 +108,4 @@
android:layout_height="wrap_content"/>

</RelativeLayout>
</android.support.v7.widget.CardView>
</androidx.cardview.widget.CardView>
12 changes: 6 additions & 6 deletions app/src/main/res/layout-hdpi/fragment_control_advanced.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
android:orientation="vertical">

<!-- Arbitrary Waveform Generator -->
<android.support.v7.widget.CardView
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/card_margin"
Expand Down Expand Up @@ -190,10 +190,10 @@
android:theme="@style/AppTheme.Button" />
</LinearLayout>

</android.support.v7.widget.CardView>
</androidx.cardview.widget.CardView>

<!-- Configure PWM -->
<android.support.v7.widget.CardView
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/card_margin"
Expand Down Expand Up @@ -461,10 +461,10 @@

</LinearLayout>

</android.support.v7.widget.CardView>
</androidx.cardview.widget.CardView>

<!-- Digital Outputs -->
<android.support.v7.widget.CardView
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/card_margin"
Expand Down Expand Up @@ -526,7 +526,7 @@

</LinearLayout>

</android.support.v7.widget.CardView>
</androidx.cardview.widget.CardView>

</LinearLayout>

Expand Down
10 changes: 5 additions & 5 deletions app/src/main/res/layout-sw600dp/activity_power_source.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/power_source_coordinatorLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">

<android.support.design.widget.AppBarLayout
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">

<android.support.v7.widget.Toolbar
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"
app:title="@string/power_source" />

</android.support.design.widget.AppBarLayout>
</com.google.android.material.appbar.AppBarLayout>

<include layout="@layout/activity_powersource_layout" />

Expand All @@ -32,4 +32,4 @@

<include layout="@layout/bottom_sheet_powersource" />

</android.support.design.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
12 changes: 6 additions & 6 deletions app/src/main/res/layout-sw600dp/activity_wave_generator.xml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"

android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="5dp">

<androidx.constraintlayout.Guideline
<androidx.constraintlayout.widget.Guideline
android:id="@+id/main_guideline1"
android:layout_width="match_parent"
android:layout_height="@dimen/length_0dp"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.3" />

<androidx.constraintlayout.Guideline
<androidx.constraintlayout.widget.Guideline
android:id="@+id/main_guideline2"
android:layout_width="match_parent"
android:layout_height="@dimen/length_0dp"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.5" />

<androidx.constraintlayout.Guideline
<androidx.constraintlayout.widget.Guideline
android:id="@+id/main_guideline3"
android:layout_width="match_parent"
android:layout_height="@dimen/length_0dp"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.6" />

<androidx.constraintlayout.Guideline
<androidx.constraintlayout.widget.Guideline
android:id="@+id/main_guideline4"
android:layout_width="match_parent"
android:layout_height="@dimen/length_0dp"
Expand Down Expand Up @@ -90,4 +90,4 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/main_guideline4" />

</androidx.constraintlayout.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down Expand Up @@ -142,4 +142,4 @@
app:layout_constraintRight_toRightOf="parent" />

</RadioGroup>
</androidx.constraintlayout.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
4 changes: 2 additions & 2 deletions app/src/main/res/layout-sw600dp/fragment_data_analysis.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down Expand Up @@ -50,4 +50,4 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent" />

</androidx.constraintlayout.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
4 changes: 2 additions & 2 deletions app/src/main/res/layout-sw600dp/fragment_xyplot.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down Expand Up @@ -63,4 +63,4 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toRightOf="parent" />

</androidx.constraintlayout.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
4 changes: 2 additions & 2 deletions app/src/main/res/layout-xhdpi/control_main_list_item.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/cardview_control_main"
Expand Down Expand Up @@ -108,4 +108,4 @@
android:layout_height="wrap_content"/>

</RelativeLayout>
</android.support.v7.widget.CardView>
</androidx.cardview.widget.CardView>
12 changes: 6 additions & 6 deletions app/src/main/res/layout-xhdpi/fragment_control_advanced.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
android:orientation="vertical">

<!-- Arbitrary Waveform Generator -->
<android.support.v7.widget.CardView
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/card_margin"
Expand Down Expand Up @@ -188,10 +188,10 @@
android:theme="@style/AppTheme.Button" />
</LinearLayout>

</android.support.v7.widget.CardView>
</androidx.cardview.widget.CardView>

<!-- Configure PWM -->
<android.support.v7.widget.CardView
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/card_margin"
Expand Down Expand Up @@ -460,10 +460,10 @@

</LinearLayout>

</android.support.v7.widget.CardView>
</androidx.cardview.widget.CardView>

<!-- Digital Outputs -->
<android.support.v7.widget.CardView
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/card_margin"
Expand Down Expand Up @@ -525,7 +525,7 @@

</LinearLayout>

</android.support.v7.widget.CardView>
</androidx.cardview.widget.CardView>

</LinearLayout>

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_multimeter_main.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/multimeter_coordinator_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand All @@ -15,4 +15,4 @@

<include layout="@layout/bottom_sheet_custom" />

</android.support.design.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
18 changes: 9 additions & 9 deletions app/src/main/res/layout/activity_oscilloscope.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/oscilloscope_mail_layout"
Expand Down Expand Up @@ -81,7 +81,7 @@
</RelativeLayout>


<androidx.constraintlayout.ConstraintLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/chart_yaxis_layout1"
android:layout_width="wrap_content"
android:layout_height="match_parent"
Expand Down Expand Up @@ -127,9 +127,9 @@
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />

</androidx.constraintlayout.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

<androidx.constraintlayout.ConstraintLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/chart_yaxis_layout2"
android:layout_width="wrap_content"
android:layout_height="match_parent"
Expand Down Expand Up @@ -172,7 +172,7 @@
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />

</androidx.constraintlayout.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

<TextView
android:id="@+id/show_guide_oscilloscope"
Expand Down Expand Up @@ -326,22 +326,22 @@
android:alpha="0"
android:background="@color/black" />

<android.support.design.widget.AppBarLayout
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/top_app_bar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">

<android.support.v7.widget.Toolbar
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />

</android.support.design.widget.AppBarLayout>
</com.google.android.material.appbar.AppBarLayout>

</RelativeLayout>

<include layout="@layout/bottom_sheet_oscilloscope" />
</android.support.design.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
10 changes: 5 additions & 5 deletions app/src/main/res/layout/activity_power_source.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/power_source_coordinatorLayout"
android:fitsSystemWindows="true">

<android.support.design.widget.AppBarLayout
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">

<android.support.v7.widget.Toolbar
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"
app:title="@string/power_source" />

</android.support.design.widget.AppBarLayout>
</com.google.android.material.appbar.AppBarLayout>

<include layout="@layout/activity_powersource_layout" />

Expand All @@ -32,4 +32,4 @@

<include layout="@layout/bottom_sheet_powersource" />

</android.support.design.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
Loading