Created
May 29, 2018 03:28
-
-
Save kheldiente/ec3943377267a0b5da44de405ad01b54 to your computer and use it in GitHub Desktop.
Final activity 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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout 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:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@color/colorPrimary" | |
android:orientation="vertical" | |
tools:context="midien.kheldiente.equalizer.MainActivity" | |
> | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/tb_app" | |
android:layout_width="match_parent" | |
android:layout_height="?attr/actionBarSize" | |
app:theme="@style/AppToolbar.Theme"> | |
<android.support.v7.widget.AppCompatTextView | |
style="@style/AppTextView" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/app_name" | |
android:textAllCaps="true" | |
android:layout_gravity="center" | |
/> | |
</android.support.v7.widget.Toolbar> | |
<midien.kheldiente.equalizer.view.EqualizerView | |
android:id="@+id/view_eq" | |
android:layout_width="match_parent" | |
android:layout_height="300dp" | |
android:background="@android:color/black" | |
app:progressDrawable="@drawable/seekbar_style" | |
app:thumb="@drawable/seekbar_thumb" | |
/> | |
<android.support.v4.widget.NestedScrollView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical"> | |
<include | |
layout="@layout/layout_switch" | |
/> | |
<android.support.v7.widget.RecyclerView | |
android:id="@+id/list_preset" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:divider="@drawable/list_divider" | |
android:dividerHeight="1px" | |
tools:listitem="@layout/item_preset" | |
/> | |
</LinearLayout> | |
</android.support.v4.widget.NestedScrollView> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment