Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
20d5c4cc
Kaydet (Commit)
20d5c4cc
authored
Eki 03, 2015
tarafından
Christian Lohmaier
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
android: make layouts nicer to work with by providing sample values in editor
Change-Id: I76495becb0257cb36340397d7296f26565fca4cd
üst
de376cb1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
10 deletions
+24
-10
about.xml
android/source/res/layout/about.xml
+5
-3
document_part_list_layout.xml
android/source/res/layout/document_part_list_layout.xml
+3
-2
file_explorer_grid_item.xml
android/source/res/layout/file_explorer_grid_item.xml
+6
-3
file_list_item.xml
android/source/res/layout/file_list_item.xml
+7
-1
main.xml
android/source/res/menu/main.xml
+1
-0
strings.xml
android/source/res/values/strings.xml
+2
-1
No files found.
android/source/res/layout/about.xml
Dosyayı görüntüle @
20d5c4cc
<?xml version="1.0" encoding="utf-8"?>
<ScrollView>
<ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"
match_par
ent"
android:layout_height=
"
wrap_cont
ent"
android:orientation=
"vertical"
android:padding=
"20dip"
>
...
...
@@ -33,7 +35,7 @@
android:paddingTop=
"20dip"
android:text=
"@string/app_credits"
android:textColor=
"@android:color/secondary_text_light"
android:textSize=
"18
di
p"
/>
android:textSize=
"18
s
p"
/>
<TextView
android:id=
"@+id/about_vendor"
...
...
android/source/res/layout/document_part_list_layout.xml
Dosyayı görüntüle @
20d5c4cc
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
...
...
@@ -8,13 +9,14 @@
<ImageView
android:id=
"@+id/image"
tools:src=
"@drawable/dummy_page"
android:layout_width=
"128dp"
android:layout_height=
"128dp"
/>
<TextView
android:id=
"@+id/text"
tools:text=
"slide or page#"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Large Text"
android:textAppearance=
"?android:attr/textAppearanceLarge"
/>
</LinearLayout>
\ No newline at end of file
android/source/res/layout/file_explorer_grid_item.xml
Dosyayı görüntüle @
20d5c4cc
...
...
@@ -6,6 +6,7 @@
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:paddingTop=
"10dp"
...
...
@@ -13,22 +14,24 @@
<ImageView
android:id=
"@+id/grid_item_image"
tools:src=
"@drawable/folder"
android:layout_width=
"100dp"
android:layout_height=
"100dp"
android:scaleType=
"fitStart"
android:layout_gravity=
"center"
>
android:layout_gravity=
"center"
android:contentDescription=
"@string/file_icon_desc"
>
</ImageView>
<TextView
android:id=
"@+id/grid_item_label"
tools:text=
"file or dirname"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@+id/label"
android:paddingLeft=
"10dp"
android:paddingRight=
"10dp"
android:paddingTop=
"10dp"
android:layout_gravity=
"center"
android:textSize=
"15
d
p"
android:textSize=
"15
s
p"
android:textStyle=
"bold"
android:textColor=
"@android:color/secondary_text_light"
android:maxLines=
"2"
>
...
...
android/source/res/layout/file_list_item.xml
Dosyayı görüntüle @
20d5c4cc
...
...
@@ -6,33 +6,39 @@
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:orientation=
"horizontal"
>
<ImageView
android:id=
"@+id/file_list_item_icon"
tools:src=
"@drawable/folder"
android:layout_height=
"match_parent"
android:layout_width=
"32dp"
android:layout_margin=
"8dp"
android:layout_gravity=
"center"
/>
android:layout_gravity=
"center"
android:contentDescription=
"@string/file_icon_desc"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:orientation=
"horizontal"
>
<TextView
android:id=
"@+id/file_list_item_name"
tools:text=
"file or dirname"
style=
"@style/ListItemText"
android:layout_height=
"match_parent"
android:layout_width=
"0dp"
android:layout_weight=
"2"
/>
<TextView
android:id=
"@+id/file_list_item_size"
tools:text=
"filesize"
style=
"@style/ListItemText"
android:layout_height=
"match_parent"
android:layout_width=
"0dp"
android:layout_weight=
"1"
/>
<TextView
android:id=
"@+id/file_list_item_date"
tools:text=
"date/time"
style=
"@style/ListItemText"
android:layout_height=
"match_parent"
android:layout_width=
"0dp"
...
...
android/source/res/menu/main.xml
Dosyayı görüntüle @
20d5c4cc
...
...
@@ -4,6 +4,7 @@
tools:context=
"org.libreoffice.MainActivity"
>
<group
android:id=
"@+id/group_edit_actions"
tools:visible=
"true"
android:visible=
"false"
>
<item
android:id=
"@+id/action_bold"
android:title=
"@string/action_bold"
...
...
android/source/res/values/strings.xml
Dosyayı görüntüle @
20d5c4cc
...
...
@@ -30,6 +30,7 @@
<string
name=
"menu_sort_az"
>
Sort A-Z
</string>
<string
name=
"menu_sort_modified"
>
Sort by Date
</string>
<string
name=
"menu_preferences"
>
Preferences
</string>
<string
name=
"file_icon_desc"
>
fileicon
</string>
<!-- Pref keys as resources ; Not currently used -->
<string
name=
"EXPLORER_VIEW_TYPE_KEY"
>
EXPLORER_VIEW_TYPE
</string>
<string
name=
"CURRENT_DIRECTORY_KEY"
>
CURRENT_DIRECTORY
</string>
...
...
@@ -66,7 +67,7 @@
<!-- Feedback messages -->
<string
name=
"message_saved"
>
Save complete
</string>
<string
name=
"message_saving"
>
Saving the document
...
</string>
<string
name=
"message_saving"
>
Saving the document
…
</string>
<string
name=
"message_save_incomplete"
>
Save incomplete. Were there any changes?
</string>
<!-- Document provider settings -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment