Listview with more than one split button?

后端 未结 6 1658
北恋
北恋 2020-12-31 14:56

Based on the JQuery-Mobile example of the Split button list I am trying to generate a listview component in Android with two extra buttons to the right, one next to the othe

6条回答
  •  粉色の甜心
    2020-12-31 15:53

    I was able at last to achieve something similar:

    The result! :)

    In case anyone is interested, here is the final code:

    
    

    And the new defined classes:

    .split-button-custom {
        float: right;
        margin-right: 10px;
        margin-top: -32px;
        border-bottom-left-radius: 1em 1em;
        border-bottom-right-radius: 1em 1em;
        border-top-left-radius: 1em 1em;
        border-top-right-radius: 1em 1em;   
    }
    
    .split-button-custom span.ui-btn-inner {
        border-bottom-left-radius: 1em 1em;
        border-bottom-right-radius: 1em 1em;
        border-top-left-radius: 1em 1em;
        border-top-right-radius: 1em 1em;
        padding-right: 0px;
    }
    
    .split-button-custom span.ui-icon {
        margin-top: 0px;
        right: 0px;
        top: 0px;
        position: relative;
    }
    

提交回复
热议问题