Load data asynchronously; cache checkmarks and streaks

This commit is contained in:
2016-02-18 14:11:59 -05:00
parent be58d29672
commit 404cc82348
16 changed files with 622 additions and 218 deletions

View File

@@ -1,4 +1,4 @@
<FrameLayout 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:id="@+id/container"
android:layout_width="match_parent"
@@ -13,4 +13,4 @@
android:layout_height="match_parent"
tools:layout="@layout/list_habits_fragment" />
</FrameLayout>
</RelativeLayout>

View File

@@ -52,4 +52,12 @@
style="@style/habitsListButtonsPanelStyle"/>
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?android:attr/progressBarStyleHorizontal"
android:layout_marginTop="37dp"
/>
</RelativeLayout>

View File

@@ -41,6 +41,7 @@
<string name="day_of_week_label_typeface">sans-serif</string>
<string name="habit_key"></string>
<string name="offset_key"></string>
<string name="toggle_key"></string>
<item name="KEY_TIMESTAMP" type="id"/>

View File

@@ -43,14 +43,9 @@
android:action="android.intent.action.VIEW"
android:data="https://github.com/iSoron/uhabits"/>
</Preference>
</PreferenceCategory>
<PreferenceCategory
android:key="pref_key_misc"
android:title="Miscellaneous">
<Preference android:title="Replay app introduction">
<Preference android:title="View app introduction">
<intent
android:targetClass="org.isoron.uhabits.IntroActivity"
android:targetPackage="org.isoron.uhabits"/>