小编Sim*_*ngø的帖子

Subversion结帐错误:缺少update-report关闭标记

每次我尝试从TortoiseSVN签出或更新特定的存储库时,我都会收到此错误:

缺少更新报告关闭标记

我完全不知道我能做些什么来避免或纠正这个错误.

有人可以指点我正确的方向吗?

svn

13
推荐指数
1
解决办法
5610
查看次数

Android:在Listview中使用PopupWindow时出现不同的主题

我在片段中有一个自定义列表视图,PopupWindow每当单击一条消息时,该视图就会使a膨胀。

但是,我似乎无法弄清楚为什么列表视图标题中的按钮使用的主题/样式与列表视图中的普通行不同。有人可以在乎解释吗?

列表视图项:

图片1

列表视图标题:

图片2

这就是我为工具栏充气的方式:

popup = new PopupWindow(inflater.inflate(R.layout.message_tool, null, false));
popup.setWindowLayoutMode(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
popup.setOutsideTouchable(true);

Rect location = locateView(v);
popup.showAtLocation(v, Gravity.NO_GRAVITY, location.left, location.top - 200);
Run Code Online (Sandbox Code Playgroud)

QuestionFragment.java

@Nullable
    @Override
    public View onCreateView(final LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        final LinearLayout view = (LinearLayout) inflater.inflate(R.layout.fragment_question, container, false);

        final ListView messages = (ListView)view.findViewById(R.id.messages);
        messages.setDivider(null);

        // Add question (header)
        View headerView = inflater.inflate(R.layout.messages_question, null);

        MessageModel messageItem = new MessageModel();
        messageItem.message = question.getQuestion();
        messageItem.id = question.getId();
        messageItem.gender = question.getGender();
        messageItem.name = …
Run Code Online (Sandbox Code Playgroud)

android

6
推荐指数
1
解决办法
739
查看次数

标签 统计

android ×1

svn ×1