Skip to content
This repository was archived by the owner on Jul 27, 2019. It is now read-only.

Commit a52079d

Browse files
committed
Added buttons and ImageView to layout.
1 parent c7190db commit a52079d

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

send-to-desktop-api/app/src/main/res/layout/content_main.xml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,33 @@
1212
tools:context="com.adobe.sendtodesktopapi.MainActivity"
1313
tools:showIn="@layout/activity_main">
1414

15-
<TextView
15+
<LinearLayout
16+
android:orientation="horizontal"
17+
android:layout_width="match_parent"
18+
android:layout_height="wrap_content"
19+
android:layout_alignParentTop="true"
20+
android:layout_centerHorizontal="true"
21+
android:id="@+id/buttonLayout">
22+
23+
<Button
24+
android:layout_width="wrap_content"
25+
android:layout_height="wrap_content"
26+
android:text="Choose photo"
27+
android:id="@+id/openGalleryButton"
28+
android:layout_weight="1" />
29+
30+
<Button
31+
android:layout_width="wrap_content"
32+
android:layout_height="wrap_content"
33+
android:text="Send to Photoshop"
34+
android:id="@+id/sendToPhotoshopButton"
35+
android:layout_weight="1" />
36+
</LinearLayout>
37+
38+
<ImageView
1639
android:layout_width="wrap_content"
1740
android:layout_height="wrap_content"
18-
android:text="Hello World!" />
41+
android:id="@+id/selectedImageView"
42+
android:layout_centerVertical="true"
43+
android:layout_centerHorizontal="true" />
1944
</RelativeLayout>

0 commit comments

Comments
 (0)