Twidere-App-Android-Twitter.../twidere/src/main/res/layout/activity_api_editor.xml

50 lines
1.9 KiB
XML
Raw Normal View History

2014-07-03 07:48:39 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Twidere - Twitter client for Android
~
~ Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@gmail.com>
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
2015-01-18 17:15:38 +01:00
<!-- I don't know why dialog doesn't work unless wrapped with a RelativeLayout -->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
2015-01-18 17:15:38 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
2015-01-18 17:15:38 +01:00
android:layout_height="wrap_content">
2014-07-03 07:48:39 +02:00
2015-01-18 17:15:38 +01:00
<LinearLayout
android:layout_width="match_parent"
2015-01-18 17:15:38 +01:00
android:layout_height="wrap_content"
android:divider="?android:dividerVertical"
android:orientation="vertical"
android:showDividers="middle"
tools:context=".activity.APIEditorActivity">
2014-07-03 07:48:39 +02:00
2015-01-18 17:15:38 +01:00
<include
layout="@layout/layout_api_editor"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
2014-07-03 07:48:39 +02:00
2015-01-18 17:15:38 +01:00
<Button
android:id="@+id/save"
style="?android:borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="@dimen/button_bar_height"
android:gravity="center"
android:text="@android:string/ok"/>
2014-07-03 07:48:39 +02:00
2015-01-18 17:15:38 +01:00
</LinearLayout>
</RelativeLayout>