Commit 2ee3803b authored by Oliver Adams's avatar Oliver Adams

Made the Main Activity more efficient with space.

parent 360929fc
......@@ -4,21 +4,23 @@
android:layout_height="fill_parent"
android:orientation="horizontal" android:baselineAligned="false" android:id="@+id/addNewUser">
<TextView android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="15sp"
android:layout_height="wrap_content"
android:text=""
android:layout_width="0dp"
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:id="@+id/recordingName"
android:padding="5dp"/>
android:padding="1dp"/>
<TextView android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="12sp"
android:layout_height="wrap_content"
android:text=""
android:layout_width="0dp"
android:layout_weight="1"
android:layout_weight="0.5"
android:layout_gravity="center_vertical"
android:id="@+id/recordingDateDuration"
android:padding="5dp"/>
android:padding="1dp"/>
<!-- Possible Recording image distinct from the programatically added
Speaker images
<ImageView android:src="@drawable/unknown_speaker"
......
......@@ -77,9 +77,9 @@ public class RecordingArrayAdapter extends ArrayAdapter<Recording> {
private ImageView makeSpeakerImageView(UUID speakerUUID) {
ImageView speakerImage = new ImageView(context);
speakerImage.setAdjustViewBounds(true);
speakerImage.setMaxHeight(60);
speakerImage.setMaxWidth(60);
speakerImage.setPaddingRelative(5,5,5,5);
speakerImage.setMaxHeight(40);
speakerImage.setMaxWidth(40);
speakerImage.setPaddingRelative(1,1,1,1);
try {
speakerImage.setImageBitmap(ImageUtils.getSmallImage(speakerUUID));
} catch (IOException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment