forked from oppia/oppia-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge multiple versions of audio_language_fragment.xml (oppia#3997)
* AudioLanguageActivity: Add AppBar into audio_language_activity.xml and set click listeners in AudioLanguageActivityPresenter * AudioLanguageFragment: Remove references to audio_language_toolbar from xml and Presenter * AudioLanguageFragment: Remove redundant audio_language_fragment files and use resolution specific dimens.xml to separate dimensions * AudioLanguageActivity: Migrate to data binding * AudioLanguageActivity: Reformat imports to fix KtLint's warnings * AudioLanguageFragmentPresenter: Refactor imports to fix KtLint's warnings * audio_language_activity.xml: Add newline at end to fix warning * audio_language_activity.xml: Remove unwanted extra lines * AudioLanguageActivityPresenter: Use DataBindingUtil instead of binding.inflate function
- Loading branch information
1 parent
6c54f39
commit abe00c8
Showing
10 changed files
with
70 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,41 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<FrameLayout xmlns:android="http:https://schemas.android.com/apk/res/android" | ||
android:id="@+id/audio_language_fragment_container" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
<layout xmlns:android="http:https://schemas.android.com/apk/res/android" | ||
xmlns:app="http:https://schemas.android.com/apk/res-auto"> | ||
|
||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<com.google.android.material.appbar.AppBarLayout | ||
android:id="@+id/reading_list_app_bar_layout" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent"> | ||
|
||
<androidx.appcompat.widget.Toolbar | ||
android:id="@+id/audio_language_toolbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="?attr/actionBarSize" | ||
android:background="?attr/colorPrimary" | ||
android:fontFamily="sans-serif" | ||
android:minHeight="?attr/actionBarSize" | ||
app:navigationContentDescription="@string/navigate_up" | ||
app:navigationIcon="?attr/homeAsUpIndicator" | ||
app:title="@string/audio_language_activity_title" | ||
app:titleTextAppearance="@style/ToolbarTextAppearance" | ||
app:titleTextColor="@color/white" /> | ||
</com.google.android.material.appbar.AppBarLayout> | ||
|
||
<FrameLayout | ||
android:id="@+id/audio_language_fragment_container" | ||
android:layout_width="0dp" | ||
android:layout_height="0dp" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/reading_list_app_bar_layout" /> | ||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
</layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters