Merge "Fix up GlowPadView attributes" into jb-mr1-lockscreen-dev
This commit is contained in:
@@ -256,11 +256,8 @@ public class GlowPadView extends View {
|
||||
setDirectionDescriptionsResourceId(resourceId);
|
||||
}
|
||||
|
||||
a.recycle();
|
||||
mGravity = a.getInt(R.styleable.GlowPadView_gravity, Gravity.TOP);
|
||||
|
||||
// Use gravity attribute from LinearLayout
|
||||
a = context.obtainStyledAttributes(attrs, android.R.styleable.LinearLayout);
|
||||
mGravity = a.getInt(android.R.styleable.LinearLayout_gravity, Gravity.TOP);
|
||||
a.recycle();
|
||||
|
||||
setVibrateEnabled(mVibrationDuration > 0);
|
||||
|
||||
@@ -5464,6 +5464,8 @@
|
||||
|
||||
<!-- Used when the handle shouldn't wait to be hit before following the finger -->
|
||||
<attr name="alwaysTrackFinger"/>
|
||||
|
||||
<attr name="gravity" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- =============================== -->
|
||||
|
||||
Reference in New Issue
Block a user