|
|
@ -16,52 +16,44 @@ You should have received a copy of the GNU General Public License |
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
--> |
|
|
|
--> |
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
android:orientation="vertical" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/toolbar" /> |
|
|
|
<include layout="@layout/toolbar" /> |
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
<LinearLayout |
|
|
|
android:id="@+id/toggle_bar" |
|
|
|
android:id="@+id/toggle_bar" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="56dp" |
|
|
|
android:layout_height="56dp" |
|
|
|
android:background="?attr/selectableItemBackground" |
|
|
|
android:background="#ff9e9e9e" |
|
|
|
android:clickable="true"> |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
|
|
android:background="#ff9e9e9e"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
|
|
|
|
android:id="@+id/toggle_status" |
|
|
|
android:id="@+id/toggle_status" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_weight="1" |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
|
|
|
|
android:layout_marginBottom="6dip" |
|
|
|
android:layout_marginLeft="24dp" |
|
|
|
android:layout_marginLeft="24dp" |
|
|
|
android:layout_marginRight="6dip" |
|
|
|
android:layout_marginRight="6dip" |
|
|
|
android:layout_marginTop="6dip" |
|
|
|
android:layout_marginTop="6dip" |
|
|
|
android:layout_marginBottom="6dip" |
|
|
|
android:layout_weight="1" |
|
|
|
android:singleLine="true" |
|
|
|
android:singleLine="true" |
|
|
|
android:textColor="#ffffffff" |
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" |
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" /> |
|
|
|
android:textColor="#ffffffff" /> |
|
|
|
|
|
|
|
|
|
|
|
<android.support.v7.widget.SwitchCompat |
|
|
|
<android.support.v7.widget.SwitchCompat |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
|
|
|
|
android:id="@+id/toggle" |
|
|
|
android:id="@+id/toggle" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:paddingRight="20dp" |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
|
|
|
|
android:clickable="true" |
|
|
|
android:focusable="false" |
|
|
|
android:focusable="false" |
|
|
|
android:clickable="true" /> |
|
|
|
android:paddingRight="20dp" /> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
<FrameLayout |
|
|
|
android:id="@+id/content" |
|
|
|
android:id="@+id/content" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|