Move copy button to the top #374

This commit is contained in:
J-Jamet
2019-11-01 15:09:41 +01:00
parent 7a3df02e38
commit b129f220f7

View File

@@ -17,7 +17,9 @@
You should have received a copy of the GNU General Public License
along with KeePass DX. If not, see <http://www.gnu.org/licenses/>.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@@ -25,7 +27,8 @@
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/KeepassDXStyle.TextAppearance.LabelTextStyle" />
tools:text="title"
style="@style/KeepassDXStyle.TextAppearance.LabelTextStyle" />
<TextView
android:id="@+id/value"
android:layout_width="match_parent"
@@ -34,12 +37,12 @@
android:layout_toLeftOf="@+id/action_image"
android:layout_toStartOf="@+id/action_image"
android:textIsSelectable="true"
tools:text="value"
style="@style/KeepassDXStyle.TextAppearance.TextEntryItem" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/action_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/value"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_below="@+id/title"