Improve detail scene

This commit is contained in:
seven332 committed 2015-07-03 12:40:47 +08:00
1 parent 76ffde2f32
commit 8d980cd48b
16 files changed
+497 -110

No files matched your search

@@ -0,0 +1,22 @@
/*
* Copyright 2015 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.ehviewer.client;
public interface Cancellable {
void cancel();
}
@@ -40,7 +40,7 @@ import java.util.concurrent.ThreadFactory;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
@SuppressWarnings("unchecked")
// TODO Make request cancle
public final class EhClient {
private static final String TAG = EhClient.class.getSimpleName();
@@ -18,8 +18,10 @@ package com.hippo.ehviewer.client.data;
import java.util.List;
// TODO not extends GalleryInfo
public class GalleryDetail extends GalleryInfo {
public int gid;
public String thumb;
public String title;
public String titleJpn;
@@ -60,6 +60,7 @@ public class CommentScene extends AppbarScene {
mRecyclerView.addItemDecoration(decoration);
mRecyclerView.setSelector(RippleSalon.generateRippleDrawable(false));
mRecyclerView.setClipToPadding(false);
mRecyclerView.setHasFixedSize(true);
}
@Override
@@ -53,6 +53,7 @@ import com.hippo.rippleold.RippleSalon;
import com.hippo.scene.Announcer;
import com.hippo.scene.RippleCurtain;
import com.hippo.scene.Scene;
import com.hippo.scene.SimpleCurtain;
import com.hippo.scene.SimpleDialog;
import com.hippo.util.Log;
import com.hippo.util.URLImageGetter;
@@ -83,6 +84,7 @@ public class GalleryDetailScene extends Scene implements View.OnClickListener,
private View mDownload;
private ViewGroup mContent;
private ViewGroup mInfo;
private TextView mLanguage;
private TextView mPages;
private TextView mSize;
@@ -154,6 +156,7 @@ public class GalleryDetailScene extends Scene implements View.OnClickListener,
mShare.setCompoundDrawables(null, shareDrawable, null, null);
mRate.setCompoundDrawables(null, rateDrawable, null, null);
mRead.setOnClickListener(this);
mDownload.setOnClickListener(this);
mFavorite.setOnClickListener(this);
@@ -161,6 +164,7 @@ public class GalleryDetailScene extends Scene implements View.OnClickListener,
mShare.setOnClickListener(this);
mRate.setOnClickListener(this);
AccurateClick.setOnAccurateClickListener(mInfo, this);
AccurateClick.setOnAccurateClickListener(mComment, this);
RippleSalon.addRipple(mRead, false);
@@ -189,12 +193,13 @@ public class GalleryDetailScene extends Scene implements View.OnClickListener,
mDownload = mActionCard.findViewById(R.id.download);
mContent = (ViewGroup) findViewById(R.id.content);
mLanguage = (TextView) mContent.findViewById(R.id.language);
mPages = (TextView) mContent.findViewById(R.id.pages);
mSize = (TextView) mContent.findViewById(R.id.size);
mPosted = (TextView) mContent.findViewById(R.id.posted);
mResize = (TextView) mContent.findViewById(R.id.resize);
mFavoredTimes = (TextView) mContent.findViewById(R.id.favoredTimes);
mInfo = (ViewGroup) mContent.findViewById(R.id.info);
mLanguage = (TextView) mInfo.findViewById(R.id.language);
mPages = (TextView) mInfo.findViewById(R.id.pages);
mSize = (TextView) mInfo.findViewById(R.id.size);
mPosted = (TextView) mInfo.findViewById(R.id.posted);
mResize = (TextView) mInfo.findViewById(R.id.resize);
mFavoredTimes = (TextView) mInfo.findViewById(R.id.favoredTimes);
mRatingText = (TextSwitcher) mContent.findViewById(R.id.rating_text);
mRating = (RatingView) mContent.findViewById(R.id.rating);
mFavorite = (TextView) mContent.findViewById(R.id.favorite);
@@ -226,7 +231,12 @@ public class GalleryDetailScene extends Scene implements View.OnClickListener,
return;
}
if (v == mRead) {
if (v == mInfo) {
Announcer announcer = new Announcer();
announcer.setObject(mGalleryDetail);
startScene(InfoScene.class, announcer,
new SimpleCurtain(SimpleCurtain.DIRECTION_RIGHT));
} else if (v == mRead) {
} else if (v == mDownload) {
@@ -247,7 +257,14 @@ public class GalleryDetailScene extends Scene implements View.OnClickListener,
return;
}
if (v == mComment) {
if (v == mInfo) {
int[] position = new int[2];
ViewUtils.getLocationInAncestor(mInfo, position, getSceneView());
Announcer announcer = new Announcer();
announcer.setObject(mGalleryDetail);
startScene(InfoScene.class, announcer,
new RippleCurtain((int) x + position[0], (int) y + position[1]));
} else if (v == mComment) {
int[] position = new int[2];
ViewUtils.getLocationInAncestor(mComment, position, getSceneView());
Announcer announcer = new Announcer();
@@ -0,0 +1,190 @@
/*
* Copyright 2015 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.ehviewer.ui.scene;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.res.Resources;
import android.support.annotation.StringRes;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;
import com.hippo.ehviewer.R;
import com.hippo.ehviewer.client.data.GalleryDetail;
import com.hippo.ehviewer.util.EhUtils;
import com.hippo.rippleold.RippleSalon;
import com.hippo.scene.Announcer;
import com.hippo.scene.AppbarScene;
import com.hippo.util.UiUtils;
import com.hippo.widget.recyclerview.EasyRecyclerView;
import com.hippo.widget.recyclerview.LinearDividerItemDecoration;
import java.util.ArrayList;
import java.util.List;
public class InfoScene extends AppbarScene implements EasyRecyclerView.OnItemLongClickListener {
private Resources mResources;
private EasyRecyclerView mRecyclerView;
private List<String[]> mInfo = new ArrayList<>();
private int mRecyclerViewOriginalPaddingBottom;
@Override
protected void onCreate(boolean rebirth) {
super.onCreate(rebirth);
setContentView(R.layout.scene_info);
setTitle(R.string.info);
setIcon(R.drawable.ic_arrow_left_dark);
Context context = getStageActivity();
mResources = context.getResources();
EasyRecyclerView recyclerView = (EasyRecyclerView) findViewById(R.id.recycler_view);
InfoAdapter adapter = new InfoAdapter();
recyclerView.setAdapter(adapter);
recyclerView.setLayoutManager(new LinearLayoutManager(context, LinearLayoutManager.VERTICAL, false));
LinearDividerItemDecoration decoration = new LinearDividerItemDecoration(
LinearDividerItemDecoration.VERTICAL, mResources.getColor(R.color.divider_light),
UiUtils.dp2pix(getStageActivity(), 1));
decoration.setPadding(mResources.getDimensionPixelOffset(R.dimen.keyline_margin));
recyclerView.addItemDecoration(decoration);
recyclerView.setSelector(RippleSalon.generateRippleDrawable(false));
recyclerView.setClipToPadding(false);
recyclerView.setHasFixedSize(true);
recyclerView.setOnItemLongClickListener(this);
mRecyclerView = recyclerView;
mRecyclerViewOriginalPaddingBottom = recyclerView.getPaddingBottom();
}
@Override
protected void onBind() {
super.onBind();
handleAnnouncer(getAnnouncer());
}
@Override
protected void onGetFitPaddingBottom(int b) {
super.onGetFitPaddingBottom(b);
View recyclerView = mRecyclerView;
recyclerView.setPadding(
recyclerView.getPaddingLeft(),
recyclerView.getPaddingTop(),
recyclerView.getPaddingRight(),
mRecyclerViewOriginalPaddingBottom + b);
}
private void addData(@StringRes int key, String value) {
mInfo.add(new String[]{mResources.getString(key), value});
}
private void handleAnnouncer(Announcer announcer) {
if (announcer != null) {
GalleryDetail gd = (GalleryDetail) announcer.getObject();
addData(R.string.header_key, mResources.getString(R.string.header_value));
addData(R.string.key_gid, Integer.toString(gd.gid));
addData(R.string.key_title, gd.title);
addData(R.string.key_title_jpn, gd.titleJpn);
addData(R.string.key_thumb, gd.thumb);
addData(R.string.key_category, EhUtils.getCategory(gd.category));
addData(R.string.key_uploader, gd.uploader);
addData(R.string.key_posted, gd.posted);
addData(R.string.key_language, gd.language);
addData(R.string.key_pages, Integer.toString(gd.pageCount));
addData(R.string.key_size, gd.size);
addData(R.string.key_resize, gd.resize);
addData(R.string.key_favorited, Integer.toString(gd.favoredTimes));
addData(R.string.key_rated, Integer.toString(gd.ratedTimes));
addData(R.string.key_rating, Float.toString(gd.rating));
addData(R.string.key_torrents, Integer.toString(gd.torrentCount));
}
}
@Override
public void onIconClick() {
finish();
}
@Override
public boolean onItemLongClick(EasyRecyclerView parent, View view, int position, long id) {
if (position != 0) {
ClipboardManager cmb = (ClipboardManager) getStageActivity().getSystemService(Context.CLIPBOARD_SERVICE);
cmb.setPrimaryClip(ClipData.newPlainText(null, mInfo.get(position)[1]));
Toast.makeText(getStageActivity(), R.string.copied_to_clipboard, Toast.LENGTH_SHORT).show();
return true;
} else {
return false;
}
}
private static class InfoHolder extends RecyclerView.ViewHolder {
private TextView key;
private TextView value;
public InfoHolder(View itemView) {
super(itemView);
key = (TextView) itemView.findViewById(R.id.key);
value = (TextView) itemView.findViewById(R.id.value);
}
}
private class InfoAdapter extends RecyclerView.Adapter<InfoHolder> {
private static final int TYPE_HEADER = 0;
private static final int TYPE_DATA = 1;
@Override
public int getItemViewType(int position) {
if (position == 0) {
return TYPE_HEADER;
} else {
return TYPE_DATA;
}
}
@Override
public InfoHolder onCreateViewHolder(ViewGroup parent, int viewType) {
return new InfoHolder(getStageActivity().getLayoutInflater().inflate(
viewType == TYPE_HEADER ? R.layout.item_info_header : R.layout.item_info_data, parent, false));
}
@Override
public void onBindViewHolder(InfoHolder holder, int position) {
String[] strings = mInfo.get(position);
holder.key.setText(strings[0]);
holder.value.setText(strings[1]);
holder.itemView.setEnabled(position != 0);
}
@Override
public int getItemCount() {
return mInfo.size();
}
}
}
@@ -263,16 +263,6 @@ public class EasyRecyclerView extends RecyclerView {
DrawableUtils.setHotspot(selector, x, y);
}
}
/* TODO handle enable
final boolean isChildViewEnabled = mIsChildViewEnabled;
if (sel.isEnabled() != isChildViewEnabled) {
mIsChildViewEnabled = !isChildViewEnabled;
if (getSelectedItemPosition() != INVALID_POSITION) {
refreshDrawableState();
}
}
*/
}
@Override
@@ -735,7 +725,7 @@ public class EasyRecyclerView extends RecyclerView {
mMotionView = findChildViewUnder(x, y);
mMotionPosition = getChildAdapterPosition(mMotionView);
if (mMotionView != null && mMotionPosition >= 0) {
if (mMotionView != null && mMotionPosition >= 0 && mMotionView.isEnabled()) {
mHasPerformedLongPress = false;
mPrePressed = true;
@@ -36,84 +36,15 @@
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="280dp"
android:paddingTop="@dimen/gallery_detail_content_margin_top"
android:orientation="vertical">
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="32dp"
android:paddingRight="32dp">
<TableRow>
<TextView
android:id="@+id/language"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="left"
android:singleLine="true"/>
<TextView
android:id="@+id/pages"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:singleLine="true"/>
<TextView
android:id="@+id/size"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="right"
android:singleLine="true"/>
</TableRow>
<TableRow
android:paddingTop="8dp">
<TextView
android:id="@+id/posted"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="left"
android:singleLine="true"/>
<TextView
android:id="@+id/resize"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:singleLine="true"/>
<TextView
android:id="@+id/favoredTimes"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="right"
android:singleLine="true"/>
</TableRow>
</TableLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="8dp"
android:text="@string/more_information"
android:textColor="@color/theme_accent"/>
<include
layout="@layout/gallery_detail_info"/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="16dp"
android:layout_marginLeft="@dimen/keyline_margin"
android:layout_marginRight="@dimen/keyline_margin"
android:background="@color/divider_light"/>
@@ -254,11 +185,11 @@
<com.hippo.ehviewer.widget.LoadImageView
android:id="@+id/thumb"
android:layout_width="120dp"
android:layout_height="180dp"
android:layout_width="@dimen/gallery_detail_thumb_width"
android:layout_height="@dimen/gallery_detail_thumb_height"
android:layout_marginLeft="@dimen/keyline_margin"
android:layout_marginTop="@dimen/keyline_margin"
android:layout_marginBottom="42dp"
android:layout_marginBottom="@dimen/gallery_detail_thumb_margin_bottom"
tools:ignore="RtlHardcoded"/>
<TextView
@@ -311,7 +242,7 @@
android:layout_marginLeft="@dimen/keyline_margin"
android:layout_marginRight="@dimen/keyline_margin"
android:orientation="horizontal"
android:layout_marginTop="212dp"
android:layout_marginTop="@dimen/gallery_detail_action_card_margin_top"
android:layout_marginBottom="8dp"
auto:cardElevation="4dp">
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2015 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingTop="@dimen/gallery_detail_info_margin_top"
android:paddingBottom="16dp">
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="32dp"
android:paddingRight="32dp">
<TableRow>
<TextView
android:id="@+id/language"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="left"
android:singleLine="true"/>
<TextView
android:id="@+id/pages"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:singleLine="true"/>
<TextView
android:id="@+id/size"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="right"
android:singleLine="true"/>
</TableRow>
<TableRow
android:paddingTop="8dp">
<TextView
android:id="@+id/posted"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="left"
android:singleLine="true"/>
<TextView
android:id="@+id/resize"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:singleLine="true"/>
<TextView
android:id="@+id/favoredTimes"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="right"
android:singleLine="true"/>
</TableRow>
</TableLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="16dp"
android:text="@string/more_information"
android:textColor="@color/theme_accent"/>
</LinearLayout>
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2015 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:paddingLeft="@dimen/keyline_margin"
android:paddingRight="@dimen/keyline_margin">
<TextView
android:id="@+id/key"
android:layout_width="80dp"
android:layout_height="wrap_content"
android:textColor="@color/primary_text_light"
android:padding="8dp"/>
<TextView
android:id="@+id/value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/primary_text_light"
android:padding="8dp"/>
</LinearLayout>
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2015 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:paddingLeft="@dimen/keyline_margin"
android:paddingRight="@dimen/keyline_margin">
<TextView
android:id="@+id/key"
android:layout_width="80dp"
android:layout_height="wrap_content"
android:textColor="@color/secondary_text_light"
android:padding="8dp"/>
<TextView
android:id="@+id/value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/secondary_text_light"
android:padding="8dp"/>
</LinearLayout>
+1 -1
View File
@@ -29,7 +29,7 @@
android:id="@+id/appbar_icon"
android:layout_width="@dimen/appbar_height"
android:layout_height="@dimen/appbar_height"
android:padding="16dp"
android:padding="@dimen/appbar_icon_margin"
android:visibility="gone"/>
<TextView
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2015 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<com.hippo.widget.recyclerview.EasyRecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="8dp"
android:paddingBottom="16dp"/>
@@ -23,6 +23,10 @@
<!-- Preference -->
<dimen name="preference_space_horizontal">64dp</dimen>
<!-- Appbar Scene -->
<dimen name="appbar_height">64dp</dimen>
<dimen name="appbar_icon_margin">20dp</dimen>
<!-- Snackbar -->
<dimen name="snackbar_interval">48dp</dimen>
+22 -13
View File
@@ -15,6 +15,18 @@
-->
<resources>
<!-- Keyline -->
<dimen name="keyline_margin">16dp</dimen>
<!-- Text size -->
<dimen name="text_super_large">24sp</dimen>
<dimen name="text_large">22sp</dimen>
<dimen name="text_little_large">20sp</dimen>
<dimen name="text_medium">18sp</dimen>
<dimen name="text_little_small">16sp</dimen>
<dimen name="text_small">14sp</dimen>
<dimen name="text_super_small">12sp</dimen>
<!-- Preference Header -->
<dimen name="preference_header_minimum_height">72dp</dimen>
<dimen name="preference_header_image_size">24dp</dimen>
@@ -26,8 +38,9 @@
<dimen name="preference_minimum_height">64dip</dimen>
<dimen name="preference_space_horizontal">0dp</dimen>
<!-- Appbar -->
<!-- Appbar Scene -->
<dimen name="appbar_height">56dp</dimen>
<dimen name="appbar_icon_margin">16dp</dimen>
<!-- DrawerList -->
<dimen name="drawer_list_drawable_size">24dp</dimen>
@@ -95,9 +108,6 @@
<dimen name="detail_action_size">48dp</dimen>
<!-- Keyline -->
<dimen name="keyline_margin">16dp</dimen>
<!-- CategoryTable -->
<dimen name="category_table_item_height">40dp</dimen>
<dimen name="category_table_item_margin_half">@dimen/search_item_interval_half</dimen>
@@ -130,16 +140,15 @@
<dimen name="add_size">20dp</dimen>
<dimen name="add_thickness">2dp</dimen>
<!-- Gallery Detail Scene-->
<dimen name="gallery_detail_thumb_width">128dp</dimen>
<dimen name="gallery_detail_thumb_height">192dp</dimen>
<dimen name="gallery_detail_thumb_margin_bottom">40dp</dimen>
<dimen name="gallery_detail_action_card_margin_top">224dp</dimen>
<dimen name="gallery_detail_content_margin_top">248dp</dimen>
<dimen name="gallery_detail_info_margin_top">48dp</dimen>
<dimen name="gallery_normal_preview_item_width">96dp</dimen>
<dimen name="gallery_large_preview_item_width">128dp</dimen>
<!-- Text size -->
<dimen name="text_super_large">24sp</dimen>
<dimen name="text_large">22sp</dimen>
<dimen name="text_little_large">20sp</dimen>
<dimen name="text_medium">18sp</dimen>
<dimen name="text_little_small">16sp</dimen>
<dimen name="text_small">14sp</dimen>
<dimen name="text_super_small">12sp</dimen>
</resources>
+22
View File
@@ -87,6 +87,27 @@
<string name="no_more_comments">No more comments</string>
<string name="more_comment">More comments</string>
<!-- Info Scene -->
<string name="copied_to_clipboard">Copied to clipboard</string>
<string name="header_key">Key</string>
<string name="header_value">Value</string>
<string name="key_gid" translatable="false">Gid</string>
<string name="key_token" translatable="false">Token</string>
<string name="key_title">Title</string>
<string name="key_title_jpn">Jpn Title</string>
<string name="key_thumb">Thumb</string>
<string name="key_category">Category</string>
<string name="key_uploader">Uploader</string>
<string name="key_posted">Posted</string>
<string name="key_language">Language</string>
<string name="key_pages">Pages</string>
<string name="key_size">Size</string>
<string name="key_resize">Resize</string>
<string name="key_favorited">Favorited</string>
<string name="key_rated">Rated</string>
<string name="key_rating">Rating</string>
<string name="key_torrents">Torrents</string>
<!-- Rating -->
<string name="rating10">a MASTERPIECE</string>
<string name="rating9">AMAZING</string>
@@ -152,5 +173,6 @@
<string name="share">Share</string>
<string name="comments">Comments</string>
<string name="info">Info</string>
</resources>