小编use*_*367的帖子

Appcompat不起作用

我想在我的应用程序中使用appcompat.我按照说明做了一切.但是当我在我的proect中添加android-support-v7-appcompat作为库时,我有一个错误:

Description Resource    Path    Location    Type
The container 'Android Dependencies' references non existing library 
'C:\Android\workspace\android-support-v7-appcompat\bin\
android-support-v7-appcompat.jar'
  testActionBar     Build path  Build Path Problem
Run Code Online (Sandbox Code Playgroud)

我做得不对劲?

android

6
推荐指数
3
解决办法
2万
查看次数

startActionMode,appcompat出错

SherlockActionBar在我的应用程序中使用,但在我开始使用appcompat之后.并得到错误

" startActionMode(ActionMode.Callback)Activity类型中的方法不适用于参数(PageFragment.ActionModeCallback)"

在原始

   mActionMode = getActivity().startActionMode(new ActionModeCallback());
Run Code Online (Sandbox Code Playgroud)

请帮助我,我做错了什么?

android android-appcompat android-actionbar contextual-action-bar android-actionbaractivity

5
推荐指数
1
解决办法
4127
查看次数

ActionBar appcompat中的ProgressBar

我想在我的应用程序中使用appcompat.但是ActionBar中的ProgressBar非常大.我如何才能减少ProgressBar?

http://itmages.ru/image/view/1451590/2f1dfa13

代码清单

<activity
 android:screenOrientation="portrait"
 android:name="com.example.ok1.MainActivity"
 android:theme="@style/Theme.AppCompat.Light" 
 android:label="@string/app_name" >
Run Code Online (Sandbox Code Playgroud)

android

-2
推荐指数
1
解决办法
7148
查看次数