mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 09:49:19 +02:00
formatting
This commit is contained in:
parent
0cb1180467
commit
e8695cf6f2
4 changed files with 67 additions and 73 deletions
|
@ -1,12 +1,12 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingTop="6dp"
|
android:paddingTop="6dp"
|
||||||
android:paddingBottom="6dp">
|
android:paddingBottom="6dp"
|
||||||
|
>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -15,9 +15,6 @@
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:ellipsize="marquee"
|
android:ellipsize="marquee"
|
||||||
android:marqueeRepeatLimit="marquee_forever"/>
|
android:marqueeRepeatLimit="marquee_forever"
|
||||||
|
/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical"
|
||||||
|
>
|
||||||
|
<ListView
|
||||||
<ListView android:id="@+id/selectedList"
|
android:id="@+id/selectedList"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content"
|
||||||
|
/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -33,8 +33,6 @@ import org.geometerplus.fbreader.network.*;
|
||||||
import org.geometerplus.fbreader.network.tree.NetworkCatalogRootTree;
|
import org.geometerplus.fbreader.network.tree.NetworkCatalogRootTree;
|
||||||
import org.geometerplus.android.fbreader.covers.CoverManager;
|
import org.geometerplus.android.fbreader.covers.CoverManager;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class AllCatalogsActivity extends Activity {
|
public class AllCatalogsActivity extends Activity {
|
||||||
final NetworkLibrary library = NetworkLibrary.Instance();
|
final NetworkLibrary library = NetworkLibrary.Instance();
|
||||||
CheckListAdapter myAdapter;
|
CheckListAdapter myAdapter;
|
||||||
|
|
|
@ -475,12 +475,10 @@ public class NetworkLibrary {
|
||||||
if (l != null && link.compareTo(l) <= 0) {
|
if (l != null && link.compareTo(l) <= 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
++index;
|
++index;
|
||||||
}
|
}
|
||||||
new NetworkCatalogRootTree(myRootTree, link, index);
|
new NetworkCatalogRootTree(myRootTree, link, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
// we do add non-catalog items
|
// we do add non-catalog items
|
||||||
new SearchCatalogTree(myRootTree, mySearchItem, 0);
|
new SearchCatalogTree(myRootTree, mySearchItem, 0);
|
||||||
new AddCustomCatalogItemTree(myRootTree);
|
new AddCustomCatalogItemTree(myRootTree);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue