Skip to content

Commit a46e955

Browse files
Changed layout of file preview fragment.
Pictures previewed are now scaled correctly.
1 parent b010357 commit a46e955

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed
0 Bytes
Binary file not shown.

.idea/caches/gradle_models.ser

-6 Bytes
Binary file not shown.

app/app.iml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,6 @@
141141
<orderEntry type="library" name="Gradle: androidx.arch.core:core-runtime:2.0.0@aar" level="project" />
142142
<orderEntry type="library" name="Gradle: androidx.constraintlayout:constraintlayout:1.1.3@aar" level="project" />
143143
<orderEntry type="module" module-name="filedialogtool" />
144+
<orderEntry type="module" module-name="filedialogtool" />
144145
</component>
145146
</module>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
o/full

filedialogtool/build/intermediates/incremental/packageDebugResources/compile-file-map.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Sun Jun 14 12:33:59 CEST 2020
1+
#Thu Jun 25 21:39:41 CEST 2020
22
/Users/Berthold/AndroidStudioProjects/0_MeineBrauchbarenProjekte/FileDialog/filedialogtool/src/main/res/layout/file_list_active_entry.xml=/Users/Berthold/AndroidStudioProjects/0_MeineBrauchbarenProjekte/FileDialog/filedialogtool/build/intermediates/packaged_res/debug/layout/file_list_active_entry.xml
33
/Users/Berthold/AndroidStudioProjects/0_MeineBrauchbarenProjekte/FileDialog/filedialogtool/src/main/res/drawable/document.png=/Users/Berthold/AndroidStudioProjects/0_MeineBrauchbarenProjekte/FileDialog/filedialogtool/build/intermediates/packaged_res/debug/drawable/document.png
44
/Users/Berthold/AndroidStudioProjects/0_MeineBrauchbarenProjekte/FileDialog/filedialogtool/src/main/res/drawable/openfolder.png=/Users/Berthold/AndroidStudioProjects/0_MeineBrauchbarenProjekte/FileDialog/filedialogtool/build/intermediates/packaged_res/debug/drawable/openfolder.png

filedialogtool/build/intermediates/packaged_res/debug/layout/fragment_dialog_show_file_info.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,17 @@
3030

3131
<ImageView
3232
android:id="@+id/screen_shot"
33-
android:layout_width="500dp"
33+
android:layout_width="match_parent"
3434
android:layout_height="wrap_content"
35+
android:paddingRight="10dp"
36+
android:paddingLeft="10dp"
3537
android:layout_marginStart="24dp"
3638
android:layout_marginEnd="24dp"
3739
android:layout_marginBottom="32dp"
3840
android:adjustViewBounds="true"
3941
android:scaleType="fitCenter"
4042
app:layout_constraintBottom_toBottomOf="parent"
41-
app:layout_constraintEnd_toEndOf="parent"
42-
app:layout_constraintStart_toStartOf="parent"
43+
4344
app:layout_constraintTop_toBottomOf="@+id/quit_preview" />
4445

4546
<ProgressBar

filedialogtool/src/main/res/layout/fragment_dialog_show_file_info.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,17 @@
3030

3131
<ImageView
3232
android:id="@+id/screen_shot"
33-
android:layout_width="500dp"
33+
android:layout_width="match_parent"
3434
android:layout_height="wrap_content"
35+
android:paddingRight="10dp"
36+
android:paddingLeft="10dp"
3537
android:layout_marginStart="24dp"
3638
android:layout_marginEnd="24dp"
3739
android:layout_marginBottom="32dp"
3840
android:adjustViewBounds="true"
3941
android:scaleType="fitCenter"
4042
app:layout_constraintBottom_toBottomOf="parent"
41-
app:layout_constraintEnd_toEndOf="parent"
42-
app:layout_constraintStart_toStartOf="parent"
43+
4344
app:layout_constraintTop_toBottomOf="@+id/quit_preview" />
4445

4546
<ProgressBar

0 commit comments

Comments
 (0)