Prechádzať zdrojové kódy

article comment can not see edit box tune up

hanjing 7 rokov pred
rodič
commit
6130fe09b1

+ 1 - 0
app/src/main/AndroidManifest.xml

@@ -738,6 +738,7 @@
             android:name="com.sheep.gamegroup.view.activity.ActArticleComment"
             android:configChanges="orientation|keyboardHidden"
             android:screenOrientation="portrait"
+            android:theme="@style/AppActionTheme"
             android:windowSoftInputMode="adjustUnspecified|stateHidden" />
         <activity
             android:name="com.sheep.gamegroup.view.activity.ActSearchAppOrTask"

+ 0 - 3
app/src/main/java/com/sheep/gamegroup/view/fragment/BaseListFragment3.java

@@ -62,8 +62,6 @@ public abstract class BaseListFragment3<T> extends BaseRefreshLoadMoreFragment{
             empty_view.setVisibility(View.GONE);
     }
 
-    @BindView(R.id.title)
-    protected View title;
     @BindView(R.id.empty_view)
     protected View empty_view;
     @BindView(R.id.check_net_ll)
@@ -76,7 +74,6 @@ public abstract class BaseListFragment3<T> extends BaseRefreshLoadMoreFragment{
     protected int per_page = DataUtil.PER_PAGE;
 
     public void initView() {
-        title.setVisibility(View.GONE);
     }
 
     public void initListener() {

+ 4 - 3
app/src/main/java/com/sheep/gamegroup/view/fragment/FgtArticleComment.java

@@ -93,9 +93,10 @@ public class FgtArticleComment extends BaseListFragment3<UserComment> implements
 
     @Override
     public void initView() {
-        TitleBarUtils.getInstance().setTitle(getView(), "详情")
-                .setTitleFinish(getView(), activity)
-                .setRightImgBotton(getView(), R.mipmap.share, new View.OnClickListener() {
+        TitleBarUtils.getInstance().setTitle(getActivity(), "详情")
+                .setTitleFinish(getActivity())
+                .setShowOrHide(getActivity(), true)
+                .setRightImgBotton(getActivity(), R.mipmap.share, new View.OnClickListener() {
                     @Override
                     public void onClick(View view) {
                         FIND_SHARE.onEvent("find_id", article_id);

+ 1 - 1
app/src/main/res/layout/include_input_comment.xml

@@ -12,7 +12,7 @@
     <TextView
         android:id="@+id/input_comment_commit"
         android:layout_width="60dp"
-        android:layout_height="26dp"
+        android:layout_height="30dp"
         android:layout_alignParentEnd="true"
         android:layout_centerVertical="true"
         android:layout_marginTop="1dp"

+ 1 - 4
app/src/main/res/layout/net_empty_smart_refresh_rv.xml

@@ -2,13 +2,10 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
+    android:fitsSystemWindows="true"
     android:background="@color/white">
 
     <include
-        android:id="@+id/title"
-        layout="@layout/title" />
-
-    <include
         android:id="@+id/check_net_ll"
         layout="@layout/check_net_view"
         android:layout_width="match_parent"