You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
3.4 KiB
89 lines
3.4 KiB
7 months ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!--
|
||
|
Copyright 2015 Google Inc. All rights reserved.
|
||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
you may not use this file except in compliance with the License.
|
||
|
You may obtain a copy of the License at
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
-->
|
||
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:id="@+id/container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:id="@+id/container2"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="@color/background_color">
|
||
|
|
||
|
<View
|
||
|
android:id="@+id/circle"
|
||
|
android:layout_width="140dp"
|
||
|
android:layout_height="140dp"
|
||
|
android:layout_centerInParent="true"
|
||
|
android:background="@drawable/circle" />
|
||
|
|
||
|
<View
|
||
|
android:id="@+id/center"
|
||
|
android:layout_width="1dp"
|
||
|
android:layout_height="1dp"
|
||
|
android:layout_centerInParent="true"
|
||
|
android:visibility="invisible" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/mic"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_above="@+id/center"
|
||
|
android:layout_centerHorizontal="true"
|
||
|
android:layout_marginBottom="13dp"
|
||
|
android:src="@drawable/ic_mic_32dp" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/play"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_below="@+id/center"
|
||
|
android:layout_marginRight="13dp"
|
||
|
android:layout_marginTop="12dp"
|
||
|
android:layout_toLeftOf="@+id/center"
|
||
|
android:src="@drawable/ic_play_arrow_32dp" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/music"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_below="@+id/center"
|
||
|
android:layout_marginLeft="13dp"
|
||
|
android:layout_marginTop="12dp"
|
||
|
android:layout_toRightOf="@+id/center"
|
||
|
android:src="@drawable/ic_audiotrack_32dp" />
|
||
|
|
||
|
<ProgressBar
|
||
|
android:id="@+id/progress"
|
||
|
style="?android:attr/progressBarStyleHorizontal"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignStart="@+id/circle"
|
||
|
android:layout_alignEnd="@+id/circle"
|
||
|
android:layout_below="@+id/circle"
|
||
|
android:progressTint="@color/progressbar_tint"
|
||
|
android:progressBackgroundTint="@color/progressbar_background_tint"
|
||
|
android:layout_marginTop="5dp"
|
||
|
android:visibility="invisible" />
|
||
|
</RelativeLayout>
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/expanded"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:scaleType="center"
|
||
|
android:visibility="invisible" />
|
||
|
</FrameLayout>
|